﻿@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
/* sub, */
/* sup, */
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	font-weight: normal;
}

body {
	line-height: 1
}


section {
	display: block
}

ul {
	list-style: none
}

blockquote,
q {
	quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: none
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent
}

del {
	text-decoration: line-through
}

abbr[title],
dfn[title] {
	border-bottom: 1px dotted;
	cursor: help
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0
}

input,
select {
	vertical-align: middle
}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size: 16px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.6;
}

#contents {
	width: 780px;
	margin: 0 auto;
}

header {
	width: 780px;
	margin: 0 auto;
}

a {
	color: #0000FF;
}

a:hover {
	color: #4b00ff;
}

h1 {
	font-size: 28px;
	line-height: 1.4;
}

h2 {
	margin-bottom: 0.5em;
	font-size: 24px;
	color: #cf0c0c;
	border-bottom: 3px solid #444;
}

h3 {
	margin-bottom: 0.25em;
	font-size: 18px;
	color: #cf0c0c;
}

/*h3:before {
	content:"\002714\00a0";
	color:#cf0c0c;
}*/

h4 {
	margin-bottom: 0.25em;
	font-size: 18px;
}

h4:before {
	content: "\00ab";
}

h4:after {
	content: "\00bb";
}

h5 {
	margin-bottom: 0.25em;
	padding: 2px;
	font-size: 18px;
	border-top: 1px dotted #ddd;
	border-bottom: 1px dotted #ddd;
	background: #f3f3f3;
}

h6 {
	margin-bottom: 0.25em;
	padding-left: 5px;
	font-size: 16px;
	border-left: 5px solid #cf0c0c;
}

p {
	margin: 0 0 0.5em 0;
}

/* details {
	margin: 0 0 1em 0;
	cursor: pointer;
	color: #0000FF;
} */

details > summary {
	margin: 0 0 0.5em 0;
	cursor: pointer;
	color: #0000FF;
}

img {
	vertical-align: bottom;
}

em {
	font-weight: bold;
	font-style: normal; 
}

strong {
    font-weight: bold;
    color: #cf0c0c;
}

pre {
	margin: 1em 0;
	padding: 1em;
}

blockquote {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px dotted #ddd;
	border-left: 5px solid #ddd;
}

ul,
ol,
dl {
	margin: 0 0 1em 0;
}

ul li {
	list-style: disc;
}

ol li {
	list-style: decimal;
}

li {
	margin-left: 2em;
}

dt {
	margin-bottom: 0.5em;
	font-weight: bold;
	border-bottom: 1px dotted #ddd;
}

dt:before {
	content: "\0025a0";
}

dd {
	margin-bottom: 1em;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #ddd;
}

th {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #ddd;
	background: #95bbc6;
}

td {
	padding: 10px;
	text-align: left;
	border: 1px solid #ddd;
}


/*================================================
 *  汎用クラス
 ================================================*/
.list {
	padding: 0 0 0 2em;
}

.list li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-indent: -1.3em;
}

.list li:before {
	content: "\002605\00a0";
	color: #ffc720;
}

.normal-list {
    margin-left: 2em;
    list-style: disc;
}

.normal-list li {
    margin-bottom: 0.4em;
}

.temp {
	clear: both;
	overflow: hidden;
	margin-bottom: 50px;
}

.img {
	float: left;
	width: 300px;
}

.text {
	float: right;
	width: 450px;
}

.photo {
	margin: 20px 0;
	padding: 10px;
	box-shadow: rgba(113, 135, 164, 0.8) 0 3px 15px 0;
	background: #fff;
}

.photo img {
	max-width: 100%;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	margin-top: 30px;
	margin-bottom: 50px;
}

header h1 {
	margin-bottom: 30px;
}

h1 span {
	font-size: 12px;
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 5px 0;
	opacity: 0.8;
	background: #000;
	z-index: 10;
}

nav ul {
	position: relative;
	float: left;
	left: 50%;
	margin: 0;
}

nav li {
	position: relative;
	left: -50%;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0 20px;
}

nav li a {
	color: #fff;
	text-decoration: none;
}

nav li a:hover {
	color: #dfdfdf;
	text-decoration: underline;
	;
}

/*================================================
 *  メイン
 ================================================*/
section {
	margin-bottom: 100px;
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	padding: 20px 0;
	font-size: 11px;
	text-align: center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position: fixed;
	bottom: 15px;
	right: 15px;
}

.totop a {
	display: block;
	text-decoration: none;
}

.totop img {
	background: #000;
}

.totop img:hover {
	background: #333;
}

/*================================================
 *  タブレット/スマートフォン向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:799px) {
	body {
		box-sizing: border-box;
		width: 100%;
		padding: 0 10px;
	}

	#contents {
		width: 100%;
	}

	header {
		width: 100%;
	}

	/* ここから追記 */
    .img,
    .text {
        float: none;   /* 縦並びにする */
        width: 100%;   /* 画面幅に合わせる */
    }
}

/* =================================================
   画像をこのサイトのレイアウト規則に従わせる
   ================================================= */

.photo img {
    display: block;      /* インライン解除：これが最重要 */
    width: 100%;         /* 文章幅にフィット */
    height: auto;        /* 縦横比維持 */
}

.image-center {
    margin: 30px 0;
    text-align: center;
}

.image-center img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.image-small {
    width: 60%;
    margin: 20px auto;
}

.image-small img {
    width: 100%;
    height: auto;
}

.fig-note {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
    text-align: right;
}

/* =========================================
   Image Modal (tap / click to enlarge)
   ========================================= */

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;                       /* left/top/width/height を一括指定 */
    background: rgba(0,0,0,0.9);
}

/* 画面の絶対中央に画像を固定する */
.img-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    max-width: 95%;
    max-height: 95%;

    box-shadow: 0 0 20px #000;
    background: #fff;
}

.img-modal.active {
    display: block;
}

/* ページ内画像に「拡大できる」カーソル */
.photo img,
.image-center img,
.image-small img {
    cursor: zoom-in;
}