@charset "UTF-8";
/* CSS Document */

body {
	font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','MS Ｐ明朝', 'MS PMincho', serif;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

h1, h2 {
	color: #202020;
}

p {
    font-size: 16px;
    line-height: 120%;
	color: #131313;
}

a {
	text-decoration: none;
	color: #131313;
}

button {
	font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','MS Ｐ明朝', 'MS PMincho', serif; 
}

img {
    max-width: 100%;
    height: auto;
}

header {
    width: 100%;
    height: 100%;
}


#container {
    display: flex;
	align-items: center;
 	background-image: url(../images/ripples-image.jpg);
	width: 100%;
	height: 100vh;
 	background-repeat: no-repeat;
 	background-size: cover;
}
	

#container .text-box {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
	text-align: center;
}

.top_title {
	margin-top: 50px;
	margin-bottom: 90px;
}

.top_title h1 {
	margin-bottom: -0.5em;
}

.top_text2 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.6em;
	margin-bottom: 6em;
}

/* on/offボタンに下線の動きをつける */
.top_text2 p::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.8s;
}

.top_text2 p:hover::after {
    transform: scale(1, 1); 
}

.top_text2 p:active {
	color: antiquewhite;
}
/*on/offボタンに下線の動きをつける　ここまで*/


#text2_on {
	display: block;
	position: relative;
	height: 45px;
	width: 50px;
	margin-right: 60px;
	background: transparent;
	border: transparent;
}

#text2_off {
	display: block;
	position: relative;
	height: 45px;
	width: 50px;
	background: transparent;
	border: transparent;
}


ul.main_menu {	
	display: flex;
	text-align: center;
	justify-content: center;
	padding: 0;
}

ul.main_menu li {
	position: relative;
	display: block;
	width: 120px;
	height: 30px;
	margin: 0 10px;
}

/*リストに下線を引く*/
ul.main_menu li a {
	text-decoration: none;
	cursor: default;
}

a::before,
a::after {
  border-bottom: solid 1px #131313;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  transition: all .8s ease;
  width: 0;
}
a::before {
  left: 50%;
}
a::after {
  right: 50%;
}
a:hover::before,
a:hover::after {
  width: 50%;
}
/*リストに下線を引く　ここまで*/

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
}