/*
Theme Name: Afetiria
Version: 1.0
Description: Afetiria Original Theme.
Author: Afetiria
Author URI: https://www.afetiria.net/
*/

/* --------------------------------------------------
 *  Index
 *
 *  1. Reset & Default
 *  2. Alignments & Margins
 *  3. Form Elements
 *  4. Navigations
 *    4.1 Navigations Media Queries
 * -------------------------------------------------- */

/* --------------------------------------------------
 *  1. Reset & Default
 * -------------------------------------------------- */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* 1rem = 10px */
html {
	font-size: 62.5%;
}

body {
	background-color: #fff;
	color: #000;
	font-family: Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
	font-size: 1.6rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	margin-bottom: 3.0rem;
}

p {
	margin-bottom: 3.0rem;
}

ol,
ul {
	margin-bottom: 3.0rem;
	margin-left: 3.0rem;
}

ol {
	list-style: decimal;
}

ul {
	list-style: disc;
}

ol li,
ul li {
	margin-bottom: 1.5rem;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 3.0rem;
	width: 100%;
}

table th,
table td {
	border: solid 0.1rem #dadada;
	padding: 0.5rem 1.0rem;
	text-align: left;
	vertical-align: middle;
}

table th {
	background-color: #f0f0f0;
	font-weight: normal;
}

a {
	text-decoration: underline;
}

a:hover,
a:focus {
	text-decoration: none;
}

a:focus {
	outline: dotted 0.1rem #dadada;
}

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

iframe {
	max-width: 100%;
}

/* --------------------------------------------------
 *  2. Alignments & Margins
 * -------------------------------------------------- */

.clear,
.clearfix::after {
	clear: both;
	content: "";
	display: block;
}

.left {
	text-align: left !important;
}

.center {
	text-align: center !important;
}

.right {
	text-align: right !important;
}

.mb0 {
	margin-bottom: 0 !important;
}

.mb30 {
	margin-bottom: 3.0rem !important;
}

.mb60 {
	margin-bottom: 6.0rem !important;
}

.mt0 {
	margin-top: 0 !important;
}

.mt30 {
	margin-top: 3.0rem !important;
}

.mt60 {
	margin-top: 6.0rem !important;
}

/* --------------------------------------------------
 *  3. Form Elements
 * -------------------------------------------------- */

input,
select,
textarea,
button,
.button {
	-webkit-appearance: none;
	border: solid 0.1rem #dadada;
	font-family: Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
	font-size: 1.6rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea {
	background: #fff;
	color: #000;
	max-width: 100%;
	padding: 0.3rem 1.0rem;
	vertical-align: middle;
}

input[type="text"].readonly,
input[type="password"].readonly,
input[type="email"].readonly,
input[type="url"].readonly,
input[type="date"].readonly,
input[type="month"].readonly,
input[type="time"].readonly,
input[type="datetime"].readonly,
input[type="datetime-local"].readonly,
input[type="week"].readonly,
input[type="number"].readonly,
input[type="search"].readonly,
input[type="tel"].readonly,
input[type="color"].readonly,
select.readonly,
textarea.readonly {
	background: #f0f0f0;
	color: #808080;
}

input::placeholder {
	color: #808080;
}

textarea::placeholder {
	color: #808080;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	cursor: pointer;
	display: inline-block;
	padding: 0.5rem 3.0rem;
	text-decoration: none;
	vertical-align: middle;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	opacity: 0.7;
	text-decoration: none;
}

input[type="radio"]+label,
input[type="checkbox"]+label {
	margin-left: 0.5rem;
}

/* --------------------------------------------------
 *  4. Navigations
 * -------------------------------------------------- */

.global-navigation,
.footer-navigation {
	height: 6.0rem;
}

.global-navigation > ul,
.footer-navigation > ul {
	height: 100%;
	margin: 0 auto;
	width: 128.0rem;
}

.global-navigation > ul > li,
.footer-navigation > ul > li {
	height: 100%;
	float: left;
	position: relative;
}

.global-navigation > ul li a,
.footer-navigation > ul li a {
	display: block;
	height: 100%;
	line-height: 6.0rem;
	overflow: hidden;
	text-align: center;
	text-decoration: none;
}

.global-navigation > ul li a:hover,
.global-navigation > ul li a:focus,
.footer-navigation > ul li a:hover,
.footer-navigation > ul li a:focus {
	text-decoration: none;
}

.sphone-navigation {
	display: none;
}

/* 4-1. Navigations Media Queries ------------*/

@media screen and (max-width: 1280px) {
	.global-navigation > ul,
	.footer-navigation > ul {
		margin: 0;
		width: auto;
	}
}

@media screen and (max-width: 980px) {
	.global-navigation,
	.footer-navigation {
		display: none;
	}
}


