@charset "utf-8";

/* common.css　共通設定*/


/* ===============================================
 * リセット & 基本設定
 * =============================================== */

html {
	-moz-text-size-adjust: none;
	text-size-adjust: none;
	font-size: 62.5%;
	scroll-behavior: smooth; /* ← スムーズスクロールをデフォルトに */
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, h5, h6, p,
figure, blockquote, dl, dd {
	margin: 0; 
}

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	color: #2F3130;
	font-size: 1.6rem;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	line-height: 1.7; 
	background: #FFF;
	min-height: 100vh;
	
	/* iPhoneのノッチ（切り欠き）やホームバー対策 */
	/* padding-top: env(safe-area-inset-top);これは.hederに入れるのが一般的 */
	padding-right: env(safe-area-inset-right);
	padding-bottom: env(safe-area-inset-bottom);
	padding-left: env(safe-area-inset-left);
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	height: auto; 
	display: block; /* ← vertical-alignが不要になり、下の隙間問題も解決 */
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
	font: inherit;
}

/* Remove default styling for buttons and inputs */
button,
input {
	border-radius: 0; /* iOSでの角丸をリセット */
	-webkit-appearance: none; /* iOSなどで適用される独自のUIパーツの見た目をリセット */
	-moz-appearance: none;
	appearance: none;
	background-color: transparent; /* 背景色をリセット */
	border: none; /* 枠線をリセット */
	padding: 0; /* パディングをリセット */
	margin: 0; /* マージンをリセット */
	color: inherit; /* 文字色を継承 */
}

/* Add some basic styling for buttons for usability */
button {
	cursor: pointer; /* カーソルをポインターに */
	display: inline-block; /* インラインブロック要素に */
	text-align: center; /* テキストを中央揃えに */
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

/* ===============================================
 * リンク設定
 * =============================================== */
a { 
	color: #333;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid #76ab30;
	outline-offset: 3px;
}


/* ===============================================
 * ユーティリティ（便利クラス）
 * =============================================== */

/* clearfix */
.cf::before, .cf::after { content: ""; display: table; }
.cf::after { clear: both; }

/* SP/PC表示切り替え */
.for-sp {
	display: none;
}
.for-pc {
	display: block;
}

.for-tablet {
	display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
	.for-tablet {
		display: block;
	}
}

@media only screen and (max-width: 768px) { 
	.for-sp {
		display: block;
	}
	.for-pc {
		display: none;
	}
}
