@charset "utf-8";

*,
*::before,
*::after{
    box-sizing: border-box;
}

html {
	overflow-y: scroll;
	margin-bottom: 1px;
	height: 100%;
}

html * {
	font-feature-settings: "palt";
	font-style: normal;
}

body {
	/* フォントを指定したサイズのままで表示 */
	-webkit-text-size-adjust: none;
	/* 要素がなくても高さを保持 */
	min-height: 80vh;
	scroll-behavior: smooth;
}

/* 基本的な要素のmarginとpaddingを0にする */
body,
/* ボックス */
div,
/* 見出し要素 */
h1,
h2,
h3,
h4,
h5,
h6,
/* リスト */
dl,
dt,
dd,
ul,
ol,
li,
/* テキストエリア等 */
p,
blockquote,
pre,
cite,
code,
caption,
hr,
/* 入力フォームやラベル等 */
form,
fieldset,
legend,
input,
textarea,
select,
option,
label,
figure,
figcaption
	{
	margin: 0;
	padding: 0;
}

/* メディアはブロックレベル要素として扱う */
img, picture, video, canvas, svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

img {
	margin: 0;
	padding: 0;
	/* インライン要素の画像の下の隙間を消す */
	vertical-align: bottom;
	line-height: 0;
	/* google chrome 画像縮小時のぼやけ対策 */
	-webkit-backface-visibility: hidden;
	/* 画像のボーダー、余白を消す */
	border: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/* 文字サイズ打ち消し */
	font-size: inherit;
	font-weight: inherit;
	/* 見出しは左寄せデフォに */
	text-align: left;
	font-weight: normal;
	/* 英字のオーバーフロー回避 */
	overflow-wrap: break-word;
}

ul,
ol {
	list-style: none;
}

li {
	list-style-position: outside;
}

table {
	border-collapse: collapse;
}

/* テーブルのボーダーと余白を完全に消す */
/* テーブルの書式を上詰め左寄せデフォに */
th,
td {
	padding: 0;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
}

/* 主にswf等が、微妙にずれるのを防ぐ */
object,
embed {
	vertical-align: top;
}

/* formのデフォルト装飾削除 */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="submit"],
input[type="password"],
select,
textarea {
	-webkit-appearance: none;
}
textarea {
	resize: vertical;
}

input, button, textarea, select {
	font: inherit;
}

/* 電話番号のリンクをPCで無効に */
a[href*="tel:"] {
	cursor: default;
	pointer-events: none;
	text-decoration: none;
}

@media only screen and (max-width:640px) {
	a[href*="tel:"] {
		pointer-events: auto;
	}
}
