@charset "utf-8";

/* =========================================
   川島メルマガ号外広告のご案内 - レスポンシブ用CSS
   ========================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 16px 0;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	background: #fff;
	overflow-wrap: break-word;
	word-break: break-word;
}

/* 見出し */
h1 {
	margin: 0 0 24px;
	font-size: 32px; /* ブラウザ標準のh1と同じサイズ */
	text-align: center;
	line-height: 1.4;
}

h2 {
	margin: 40px 0 12px;
	padding: 6px 0 6px 12px;
	border-left: 4px solid #333;
	font-size: 1.1rem;
	line-height: 1.5;
}

/* HTML側の <font size="3"> を見出しサイズに揃える */
h2 font {
	font-size: inherit;
}

p {
	margin: 0 0 16px;
}

a {
	color: #0645ad;
}

/* 画像：画面幅からはみ出さないようにする */
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* フッター */
footer {
	margin-top: 40px;
	padding: 16px 0 24px;
	border-top: 1px solid #ddd;
	font-size: 0.85rem;
	text-align: center;
}

/* スマホのときだけ改行する */
br.sp {
	display: none;
}

/* =========================================
   スマホ（600px以下）
   ========================================= */
@media (max-width: 600px) {
	body {
		padding-top: 16px;
		font-size: 15px;
		line-height: 1.75;
	}

	h1 {
		font-size: 1.35rem;
		margin-bottom: 16px;
	}

	h2 {
		margin-top: 32px;
		font-size: 1.05rem;
	}

	br.sp {
		display: inline;
	}
}
