@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&family=Klee+One&family=Lexend:wght@100..900&family=Noto+Sans+JP:wght@100..900&family=Tenor+Sans&display=swap');

/* -----reset--------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display:block;
}
body {
	line-height:1;
}
ol, ul {
	list-style:none;
	letter-spacing:-0.5em;
}
li {
	letter-spacing:normal;
}
blockquote, q {
	quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
/* ------------------------------------------------------ */


* {
	font-style:normal;
	font-weight:normal;
	box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;
	}

html {
  font-size:62.5%; /*font-size:10px;*/
  -webkit-text-size-adjust:100%;
  }

body {
	background-color:#fff;
	color:#211916;
	margin:0;
	padding:0;
	font-size:1.4rem; /*font-size:14px;*/
	font-family:"Noto Sans JP", sans-serif;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	-webkit-text-size-adjust:100%; 
	word-wrap:break-word;
	}

a { color:#333; text-decoration:none; }
a:hover { color:#ca051b; }

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

.lexend { font-family:"Lexend", sans-serif; font-optical-sizing:auto; font-style:normal; }
.commissioner { font-family:"Commissioner", sans-serif; font-optical-sizing:auto; font-style:normal; font-variation-settings:"slnt" 0, "FLAR" 0, "VOLM" 0; }
.tenor { font-family:"Tenor Sans", sans-serif; font-weight:400; font-style:normal; }

.fs10 { font-size:1.0rem; }
.fs12 { font-size:1.2rem; }
.fs14 { font-size:1.4rem; }
.fs16 { font-size:1.6rem; }
.fs18 { font-size:1.8rem; }
.fs20 { font-size:2.0rem; }
.fs28 { font-size:2.8rem; }

strong { font-weight:700; }

.red { color:#ca051b; }

img { max-width:100%; }

pre { white-space:pre-wrap; word-wrap:break-word; overflow:visible; }


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

#wrapper {
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	}
#top #wrapper{ opacity:0; }
body#top.appear #wrapper{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.8s;
	animation-fill-mode:forwards;
	opacity:0;
}
@keyframes PageAnimeAppear{
	0% {
	opacity:0;
	}
	100% {
	opacity:1;
}
}

#header{
	position:fixed; height:75px; width:100%; z-index:9;
	display:flex; justify-content:space-between; align-items:center;
    background:#fff; box-shadow:1px 1px 5px 1px #efefef;
}
#header h1 { width:280px; margin-left:3%; }
#header h1 img { width:100%; }

#header nav { width:480px; margin:0 5% 0 10%; padding:0; }
#header nav ul { margin:auto; display:flex; justify-content:space-between; font-size:1.7rem; }
@media screen and (max-width:889px){
#header nav {position:absolute; top:-100vh; left:0; width:100%; height:100vh; background-color:#fcf5f4; overflow: auto; z-index:7; opacity:0; pointer-events:none; transition:all 0.3s; margin:0; }
#header h1 { z-index:100; width:calc( 100% - 100px ); max-width:280px; }
#header nav.is-show{ opacity:1; pointer-events:auto; top:0; }
#header nav { padding: 10px; }
#header nav ul { margin:90px 0; text-align:center; width:100%; display:block; }
#header nav ul li { display:block; width:100%; padding:20px 10px; border-bottom:1px dashed #e3b0a4; text-align:center; }
#header nav ul li a { color:#ca051b; }
}


.menubtn { position:relative; padding:20px; z-index:10; } 
@media screen and (min-width:890px){ .menubtn { display: none; } }
#header .menubtn { position: absolute; top:5px; right:5px; }
.openbtn { position: relative; background:#ca051b; cursor: pointer; width:60px; height:60px; border-radius:2px; }
.openbtn span{ display:inline-block; transition:all .4s; position:absolute; left:15px; height:3px; border-radius:5px; background:#fff; width:52%; }
.openbtn span:nth-of-type(1) { top:15px; }
.openbtn span:nth-of-type(2) { top:23px; }
.openbtn span:nth-of-type(3) { top:31px; }
.openbtn span:nth-of-type(3)::after { content:"Menu"; position: absolute; top:10px; left:0; color: #fff; font-size:1.2rem; }
.openbtn.active span:nth-of-type(1) { top:18px; left:16px; width:45%; transform:translateY(6px) rotate(-45deg); }
.openbtn.active span:nth-of-type(2) { opacity:0; }
.openbtn.active span:nth-of-type(3) { top:30px; left:16px; width:45%; transform:translateY(-6px) rotate(45deg); }
.openbtn.active span:nth-of-type(3)::after { content:"Close"; top:11px; left:14px; transform:translateY(0) rotate(-45deg); }


footer {
	margin:0;
	padding:20px 0;
	background-color:#ca051b;
	}
footer#footer p.copyr { text-align:center; color:#fff; font-size:1.2rem; }
		

#pimg { width:980px; margin:0 auto; padding:15px 0 0 0; }
	#pimg img { width:100%; height:auto; }
	
#main { width:980px; margin:0 auto; padding:30px; background-color:#fff; position:relative; min-height:850px; }



/*=======  アニメーション的な動き  =======*/
/* splash */
#splash { position:fixed; width:100%; height:100%; background:#fff; z-index:9999999; text-align:center; color:#fff; }
#splash-logo { position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); }
#splash-logo img{ width:50px; }
.splashbg { display:none; }
body.appear .splashbg{ display:block; position:fixed; z-index:999; width:100%; height:100vh; top:0; left:0; transform:scaleY(0); background-color:#ca051b; animation-name:PageAnime; animation-duration:1.2s; animation-timing-function:ease-in-out; animation-fill-mode:forwards; }
@keyframes PageAnime{
	0% { transform-origin:bottom; transform:scaleY(0); }
	50% { transform-origin:bottom; transform:scaleY(1); }
	50.001% { transform-origin:top; }
	100% { transform-origin:top; transform:scaleY(0); }
}
#splash-logo{ font-size:min(6vw,5rem); letter-spacing:0.05em; color:#ca051b; font-weight:500; }

/*bgextend*/
.bgextend{ animation-name:bgextendAnimeBase; animation-duration:1s; animation-fill-mode:forwards; position:relative; overflow:hidden; opacity:0; }
@keyframes bgextendAnimeBase{
  from { opacity:0; }
  to { opacity:1; }
}
.bgappear{ animation-name:bgextendAnimeSecond; animation-duration:1s; animation-delay:0.6s; animation-fill-mode:forwards; opacity:0; }
@keyframes bgextendAnimeSecond{
	0% { opacity:0; }
	100% { opacity:1; }
}
.bgLRextend::before { animation-name:bgLRextendAnime; animation-duration:1s; animation-fill-mode:forwards; content:""; position:absolute; width:100%; height:100%; background-color:#ca051b; }
@keyframes bgLRextendAnime{
	0% { transform-origin:left; transform:scaleX(0); }
	50% { transform-origin:left; transform:scaleX(1); }
	50.001% { transform-origin:right; }
	100% { transform-origin:right; transform:scaleX(0); }
}

/* fadeUp */
.fadeUp { animation-name:fadeUpAnime; animation-duration:0.5s; animation-fill-mode:forwards; opacity:0; }
@keyframes fadeUpAnime{
  from { opacity:0; transform:translateY(100px); }
  to { opacity:1; transform:translateY(0); }
}
/* 4-2　パタッ（左へ） */
.flipLeft { animation-name:flipLeftAnime; animation-duration:0.5s; animation-fill-mode:forwards; perspective-origin:left center; opacity:0; }
@keyframes flipLeftAnime{
  from { transform:perspective(600px) translate3d(0, 0, 0) rotateY(30deg); opacity:0; }
  to { transform:perspective(600px) translate3d(0, 0, 0) rotateY(0deg); opacity:1; }
}
/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#machine,
.service-area{
    transform:translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger{
    opacity:0;
}

.zoomIn { animation-name:zoomInAnime; animation-duration:1.5s; animation-fill-mode:forwards; }
@keyframes zoomInAnime{
  from { transform:scale(0.6); }
  to { transform:scale(1); }
}

.btn-detail { position:relative; color:#ca051b; padding:8px 30px; display:inline-block; text-decoration:none; outline:none; border:1px solid #ca051b; border-bottom:none; background-color:#fff; min-width:150px; text-align:center; font-family:"Lexend", sans-serif; font-optical-sizing:auto; font-style:normal; font-size:1.6rem; }
.btn-detail span { position:relative; z-index:2; }
.btn-detail:hover span { color:#fff; }
.btn-detail::after { content:''; position:absolute; z-index:1; bottom:0; left:0; background:#ca051b; width:100%; height:1px; transition:all 0.3s ease-in-out; }
.btn-detail:hover::after { height:100%; }

.youtube { width:100%; max-width:560px; margin:0 auto 30px; }
.youtube div { position:relative; width:100%; padding-top:56.25%; }
.youtube div iframe { position:absolute; top:0; right:0; width:100%; height:100%; }



#top-main { width:100%; height:100vh; position:relative; } 
#top-main:before { content:''; position:fixed; top:0; left:0; z-index:-1; width:100%; height:100vh; background:url("../img/main-bg.jpg") no-repeat center; background-size:cover; }
@media screen and (max-width:768px) {
#top-main:before{ background-position:top center; background-size:auto 90%; }
}
.wave { position:relative; height:100vh; }
canvas { position:absolute; bottom:0; left:0; width:100%; }
.year-100 { position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); display:flex; align-items:center; justify-content:space-between; max-width:96%; }
.year-100 img { min-width:350px; padding-right:50px; }
.year-100 p { font-size:min(2.8vw, 2.0rem); line-height:2.0; font-family:"Klee One", cursive; font-weight:700; font-style:normal; white-space:nowrap; padding-bottom:80px; }
@media screen and (max-width:990px) {
.year-100 { display:block; }
.year-100 img { margin-bottom:30px; max-width:380px; }
}
@media screen and (max-width:400px) {
.year-100 img { min-width:180px; width:80%; max-width:350px; adding-right:0; }
}

#container { position:relative; z-index:1; background:#fff; }
#main-area { width:90%; max-width:1200px; margin:0 auto; padding:50px 0; }
.main-area { width:90%; max-width:1200px; margin:0 auto; padding:50px 0; }

/* machine */
#machine-area { background-image:url("../img/bg01.jpg"); background-position:top center; background-repeat:no-repeat; background-size:cover; padding:180px 0; }
#machine { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; width:90%; max-width:1200px; margin:0 auto; }
#machine .img { width:40%; min-width:450px; }
#machine .content { width:50%; text-align:right; }
#machine h2 { color:#A50013; margin:0 0 20px 0; font-size:min(3.7vw, 1.8rem); font-weight:500; line-height:1.5; padding-right:12px; }
#machine h3 { position:relative; color:#ca051b; font-size:min(7.5vw, 3.2rem); font-weight:bold; margin:0 0 50px 0; padding-right:12px; }
#machine p { line-height:2.2; font-size:min(2.8vw, 1.7rem); display:flex; flex-wrap:wrap; justify-content:flex-end; }
#machine p span { white-space:nowrap; }
#machine p strong { color:#A50013; }
#machine div.btn { padding-top:20px; padding-right:15px; }
@media screen and (max-width:1000px) {
#machine .img { min-width:350px; }
#machine .content { width:50%; text-align:right; }
}
@media screen and (max-width:890px) {
#machine-area { padding:80px 0; }
#machine { display:block; margin:0 0 50px 0; }
#machine .img { min-width:200px; width:80%; max-width:450px; margin:0 auto 20px auto; }
#machine .content { width:80%; margin:auto; text-align:left; }  
#machine h2 { padding-right:0; }
#machine h3 { margin:0 0 20px 0; padding-right:0; }
#machine p { justify-content:flex-start; }
}

/* about */
#about { margin:100px 0; }
#about h2 { font-family:"Lexend", sans-serif; font-optical-sizing:auto; font-style:normal; font-size:min(7vw,4.8rem); text-align:center; color:#ca051b; margin:0 0 100px 0; }
#about .about-list { width:96%; max-width:900px; margin:0 auto; }
#about .about-list dl { border-bottom:1px solid #ccc; margin:0 0 20px 0; padding:0 0 20px 0; display:flex; justify-content:space-between; line-height:1.5; }
#about .about-list dt { width:30%; padding:0 0 0 40px; }
#about .about-list dd { width:65%; }
#about .btn { width:100%; max-width:350px; margin:50px auto; display:flex; justify-content:space-between; }
@media screen and (max-width:590px) {
#about h2 { margin:0 0 50px 0; }
#about .about-list dt { padding:0 0 0 10px; }
}



/* juna */
#juna-area { background-image:url("../img/bg01.jpg"); background-position:top center; background-repeat:no-repeat; background-size:cover; height:100vh; display:flex; align-items:center; }
#juna-main { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; width:90%; max-width:1200px; margin:0 auto; }
#juna-main .img { width:50%; }
#juna-main .content { width:45%; white-space:nowrap; }
#juna-main h1 { font-size:min(3.8vw, 2.7rem); width:100%; text-align:center; font-family:"Klee One", cursive; font-weight:700; font-style:normal; padding-bottom:80px; line-height:1.6; }
#juna-main h2 { margin:0 0 20px 0; font-size:min(3.5vw, 1.8rem); line-height:1.5; }
#juna-main h3 { color:#ca051b; font-size:min(7.5vw, 5.3rem); font-weight:bold; }
#juna-main h3 span { font-size:75%; }
@media screen and (max-width:890px) {
#juna-main { display:block; max-width:800px; }
#juna-main .img { width:80%; margin:auto; }
#juna-main .content { width:100%; margin:0 auto 0; text-align:center; line-height:3; }
#juna-main h1 { padding-bottom:30px; }
#juna-main h2 { margin:20px 0 10px; }
}

#juna-feature { padding:30px 0; width:100%; max-width:1200px; margin:0 auto; display:flex; justify-content:center; }
#juna-feature ul li { padding:50px 0; text-align:center; border-bottom:3px dotted #efefef; }
#juna-feature ul li h3 { display:flex; justify-content:center; align-items:center; font-size:min(4vw, 2.8rem); line-height:1.4; }
#juna-feature ul li h3::before, #juna-feature ul li h3::after { width:2px; height:40px; background-color:#ca051b; content:''; }
#juna-feature ul li h3::before { transform:rotate(-35deg); margin-right:20px; }
#juna-feature ul li h3::after { transform:rotate(35deg); margin-left:20px; }
#juna-feature ul li h3 br { display:none; }
#juna-feature ul li p { margin:30px 0 0; font-size:min(2.8vw,1.6rem); line-height:1.8; }
#juna-feature ul li p br.sp { display:none; }
@media screen and (max-width:890px) {
#juna-feature ul li h3 br, #juna-feature ul li p br.sp { display:block; }
}

#juna-spec { background-color:#f0d5cd; padding:50px 0; }
#juna-spec .panel { display:flex; align-items:flex-start; background-color:#fff; padding:15px; border-radius:5px; width:90%; max-width:1150px; margin:0 auto; }
#juna-spec .panel img { width:50%; max-width:600px; height:auto; }
#juna-spec .panel ul { margin:30px;}
#juna-spec .panel ul li { margin:10px 0; display:flex; justify-content:flex-start; align-items:center; line-height:1.5; }
#juna-spec .panel ul li span { display:block; width:18px; height:18px; border:1px solid #333; border-radius:50px; font-size:1.2rem; text-align:center; line-height:14px; margin:0 5px; }
#juna-spec .spec { width:90%; max-width:1150px; margin:0 auto; padding-top:50px; }
#juna-spec .spec dl { display:flex; justify-content:space-between; margin:5px 0; padding:20px; border-bottom:1px solid #fff; line-height:1.5; }
#juna-spec .spec dl dt { width:180px; }
#juna-spec .spec dl dd { width:calc( 100% - 180px ); }
#juna-spec .spec dl dd span { display:inline-block; margin-right:15px; }
#juna-spec .spec dl dd span::after { content:','; }
@media screen and (max-width:890px) {
#juna-spec { padding:30px 0; }
#juna-spec .panel { display:block; }
#juna-spec .panel img { width:100%; display:block; margin:auto; }
#juna-spec .panel ul { margin:30px 0;display:flex; justify-content:space-between; flex-wrap:wrap; }
#juna-spec .panel ul li { min-width:50%; flex-wrap:wrap; }
#juna-spec .spec dl dt { width:120px; }
#juna-spec .spec dl dd { width:calc( 100% - 150px ); }
}
@media screen and (max-width:500px) {
#juna-spec .spec dl { display:block; }
#juna-spec .spec dl dt { width:auto; font-weight:600; }
#juna-spec .spec dl dt::after { content:'：'; }
#juna-spec .spec dl dd { width:100%; }
}

#juna-contact { width:90%; max-width:1100px; margin:0 auto; padding:80px 0; }
#juna-contact p { line-height:1.8; padding:5px 0; font-size:1.6rem; }


#aboutus { margin:100px 0; }
#aboutus h2 { font-family:"Lexend", sans-serif; font-optical-sizing:auto; font-style:normal; font-size:min(7vw,4.8rem); text-align:center; color:#ca051b; margin:0 0 50px 0; }
#aboutus table { width:90%; max-width:1200px; margin:auto; line-height:1.5; }
#aboutus th { border:2px solid #fff; background-color:#fcf5f4; padding:20px; white-space:nowrap; }
#aboutus td { border:2px solid #fff; background-color:#fcf5f4; padding:20px; }
#aboutus ul.history { margin:0; position:relative; }
#aboutus ul.history::before { content:''; width:1px; height:100%; background-color:#f3e1df; position:absolute; top:8px ; left:0; }
#aboutus ul.history li { display:flex; justify-content:flex-start; margin:0 0 8px; position:relative; padding:0 0 0 15px; }
#aboutus ul.history li::before { content:''; display:block; width:9px; height:9px; background-color:#e0b5aa; border-radius:50px; position:absolute; top:7px; left:-4px; }
#aboutus ul.history li span:nth-child(1) { width:140px; }
#aboutus ul.history li span:nth-child(2) { width:calc( 100% - 140px); }
@media screen and (max-width:590px) {
#aboutus table { font-size:1.4rem; }
#aboutus th { padding:15px 10px 15px 20px; display:block; width:100%; border-bottom-width:1px; text-align:left; font-weight:500;}
#aboutus td { padding:15px 10px 15px 20px; display:block; width:100%; border-top-width:1px; background-color:#fcf8f7; }
#aboutus ul.history li { flex-wrap:wrap; }
#aboutus ul.history li span:nth-child(1),
#aboutus ul.history li span:nth-child(2) { width:100%; }
}

#vision { position:relative; width:100%; margin:0; padding:100px 0; top:30px; }
#vision::before { content:''; position:absolute; top:0; bottom:0; left:0; right:0; background:url("../img/main-bg.jpg") no-repeat center bottom; background-size:cover;  transform:skewY(-4deg); z-index:-1; }
#vision h2 { font-weight:600; font-size:min(7vw,4.8rem); text-align:center; color:#ca051b; margin:0 0 50px 0; }
#vision .contents { width:80%; max-width:900px; margin:auto; }
#vision .contents p { text-align:center; font-size:1.8rem; font-weight:600; line-height:2.0; }
#vision .contents ul li { list-style-type:disc; margin:10px 0; font-size:1.6rem; line-height:1.8; }

#greeting { margin:150px 0; padding:50px 0; }
#greeting h2 { font-family:"Lexend", sans-serif; font-optical-sizing:auto; font-style:normal; font-size:min(7vw,4.8rem); text-align:center; color:#ca051b; margin:0 0 80px 0; }
#greeting .contents { width:90%; max-width:900px; margin:auto; display:flex; flex-direction:row-reverse; }
#greeting .contents p { font-size:1.5rem; padding:10px 30px 0 0; line-height:1.75; }
#greeting .contents .img { max-width:250px; min-width:200px; }
#greeting .contents .img p { text-align:center; padding:5px; }
#greeting .contents .img img { border-radius:10px; }
@media screen and (max-width:590px) {
#greeting .contents { display:block; }
#greeting .contents .img { width:60%; margin:auto; }
#greeting .contents p { font-size:1.5rem; padding:10px 0 0 0; line-height:1.75; }
}

#c-form { width:90%; max-width:800px; margin:auto; padding:80px 0; font-size:1.5rem; }
#c-form h2 { font-weight:600; font-size:min(7vw, 3.8rem); text-align:center; color:#ca051b; margin:0 0 50px 0; }
#c-form p { line-height:1.7; padding:10px 0; }
#c-form dl { display:flex; justify-content:space-between; padding:30px 10px; line-height:1.2; }
#c-form dl.ctr { align-items:center; }
#c-form dt { width:220px; position:relative; }
#c-form dt span { position:absolute; top:2px; right:20px; font-size:1.2rem; color:#ca051b; }
#c-form dd { width:calc( 100% - 230px); }
#c-form input[type="text"], #c-form input[type="email"], #c-form input[type="tel"], #c-form textarea { border:1px solid #ccc; font-size:1.5rem; padding:8px 5px; border-radius:5px; width:100%; }
#c-form span.wpcf7-list-item { display:block; padding:0 0 10px; }
#c-form input[type="submit"] { display:block; width:250px; margin:30px auto 10px auto; text-align:center; background-color:#ca051b; color:#fff; padding:15px 5px; border-radius:8px; }
@media screen and (max-width:590px) {
#c-form dl { display:block; }
#c-form dt { width:auto; position:relative; }
#c-form dd { width:100%; padding-top:10px; }
}

.wpcf7 form.sent .wpcf7-response-output {/* 送信ボタン下完了時 */
    border-color: #ca051b;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {/* 送信ボタン下未入力警告 */
    border-color: #ca051b;
}
.wpcf7-not-valid-tip {/* 必須未入力項目下の文章 */
    color: #ca051b;
    font-size: 12px;
}


/*===========================================================*/
/*機能編  5-1-12 クリックしたらナビが下から上に出現 */
/*===========================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#eb6100;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*===========================================================*/
/*機能編  8-1-3 ページの指定の高さを超えたら右から出現*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#eb6100;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0;
	bottom:0;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

/*===========================================================*/
/*機能編  9-2-2 任意の場所をクリックすると隠れていた内容が開き、先に開いていた内容が閉じる*/
/*===========================================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width:768px) {
.title {
    font-size:0.9rem;
}
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
}


/*===========================================================*/
/*機能編  9-4-1 ニュースティッカー*/
/*===========================================================*/

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
    padding:10px 0;
}

/*日付*/
.slider time{
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider time {
        display:block;
		padding-bottom:10px;
    }
}
