html {
	scroll-behavior: smooth;
}
.page {
    margin: 0 auto 20px auto;
    max-width: 560px;
    overflow: hidden;
    padding: 0 40px 20px 40px;
    background-color: #FFFDFA;
    color: #121212;
    line-height: 1.8;
    font-family: 'Meiryo', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Yu Gothic', 'MS PGothic', 'MS UI Gothic', 'Arial', sans-serif;
    counter-reset: chapter;
}
@font-face {
  font-family: 'Inconsolata';
  src: url('../../image/Inconsolata.ttf');
  unicode-range: U+0020-007F;
}

footer, .breadcrumb, .aiin-css-tpl-sb-heart-btn .aiin-vcnt, .pxruler {
    font-family: 'Inconsolata', 'Consolas', 'Verdana', 'Helvetica', sans-serif;
}
h1, h2, h3 {
    word-break: keep-all;
    line-height: 1.2;
}
h1 {
    font-size: 1.8rem;
    padding-top: 1em;
}
h2 {
    font-size: 1.4rem;
}
h2 span {
    font-size: .8em;
}
h4 {
	font-size: 1.1rem;
	font-weight: normal;
    margin: 0 0 .8em 0;
}
p {
    margin: 0 0 3em 0;
}
a:hover:not(.com_btn, .nex_btn) {
    text-decoration: none;
    position:relative;
    left:1px;
    top:1px;
}
a:visited {
    text-decoration: none;
}
.note {
    font-size: .8rem;
    color: #333333;
    margin: 0 0 1.5em 0;
}
.note a:hover {
    color: #CD5C5C;
}
.right {
    text-align: right;
    margin: 0 0 1.5em 0;
}
.list_box {
    max-width: 60%;
    margin: 2rem auto;
    padding: 1em;
    border: 1px solid #CCCCCC;
}
details li {
    line-height: 1.8;
}
summary {
	padding: 0 1em;
	font-size: 1.1em;
    font-weight: bold;
}
summary:hover {
    color: #A52A2A;
}
hr {
    display: block;
    margin: 2em 1em;
    border: 0;
    border-top: 1px solid #AAAAAA;
}

quote::before {
	font-size: 1.5rem;
	margin-right: .4em;
	color:#CCCCCC;
	content: "\275D";
}
quote::after {
	font-size: 1.5rem;
	line-height:0;
	color:#CCCCCC;
	content: "\275E";
}
.mlist {
    padding-left: 1em;
    font-size: .8em;
    color: #333333;
}
.mlist span::before {
    content: "\02d\00a0";
}
.mlist li {
    list-style-type:none;
    margin-bottom: .2em;
    padding-left: 1em;
    text-indent: -1em;
}
.copymark {
    display:block;
    position:absolute;
    left:-99999px;
    top:-99999px;
    speak: none;
}
footer {
    margin: .8em auto;
    font-size: 1.2em;
    text-align: center;
    color: #888888;
}
footer ul {
    padding: 0;
}
footer li {
    display: inline; 
    list-style-type: none; 
	padding-right: 1em;
}
footer li a, footer li a:visited {
    text-decoration: none;
    color: #CD5C5C;
}
footer li:last-child {
	padding-right: 0;
}
footer div {
    font-size: .8em;
}
.icon_area {
    display: flex; display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-direction: row;
    -webkit-flex-direction: row;
    justify-content: space-evenly;
    margin: 24px auto;
    width: 300px;
}
.icon_box {
    text-align: center;
    margin: auto;
}
@font-face {
	font-family: 'NotoEmoji';
	src: url('../../image/NotoEmoji-SemiBold.ttf');
	unicode-range: U+002A-0039, U+00A9, U+00AE, U+203C, U+2049, U+2122, U+2139, U+2194-21AA, U+231A-23CF, U+24C2, U+25AA-25FE, U+2600-26CE FE0F, U+2702-27A1, U+2934-2935, U+2B05, U+2B55, U+3030, U+303D, U+3297, U+3299, U+1F004, U+1F0CF, U+1F170-1F1FF, U+1F201-1F251, U+1F300-1F37D, U+1F600-1F64F, U+1F680-1F6E4, U+1F7E0-1F7EB, U+1F90D-1F97F, U+1F6CEU+FE0F;
	font-display: swap;
}
.eicon {
	font-family: "NotoEmoji";
	text-decoration:none;
}
@media screen and (max-width: 640px) {
    body { font-size: 1.2rem;}
   .page { padding: 2px 1em; line-height: 1.6;}
    h1 { font-size: 1.5rem;}
    h2 { font-size: 1.4rem;}
    h3 { font-size: 1.2rem; font-weight: bold;}
	h4 { font-weight: bold;}
    h4, summary { font-size: 1.2rem;}
    details ul { padding-left: 1em;}
    .listbox { max-width: 90%;}
    .icon_area { max-width: 90%; margin: 40px auto;}
    .mlist span { color: #5F9EA0;}
    .mlist span::before { white-space: pre; content: "\A";}
	.eicon { font-weight: initial;}
}
@media screen and (max-width: 720px) {
    .ruler { background-image: url(); }
}
@media screen and (max-width: 320px) {
    h1, h2, h3 { word-break: initial; }
    .icon_area { margin: 10px; }
}

    /*** Chapter Counter ***/
.cnt_ch {
    counter-increment: chapter 1;
}
.cnt_ch:before {
    content: counter(chapter) ". ";
}

    /*** Section Counter ***/
.cnt_sec {
    counter-increment: section 1;
    font-weight: normal;
}
.cnt_sec:before {
    content: "\3008\00A0"counter(section) "\00A0\3009";
    padding-left: 1em;
}

@media screen and (max-width: 640px) {
	.cnt_sec {font-weight: bold;}
}

    /*** Breadcrumb Navi List ***/
nav {
	width: 98%;
	max-width: 640px;
	margin: 0 auto;
	text-align: right;
}
.breadcrumb {
    margin: 4px 0 8px 16px;
    padding: 0;
    line-height: 1em;
    font-size: 1em;
    color: #888888;
}
.breadcrumb li {
    list-style-type: none; 
    display: inline; 
}
.breadcrumb li::after {
	margin-left:.5em;
    content: "\03e";
}

.breadcrumb li:last-child:after {
    content: ""; 
}
.breadcrumb li a {
    text-decoration: none;
    color: #CD5C5C; 
}
@media screen and (max-width: 640px) {
  .breadcrumb { font-size: 0.8em; } 
  .breadcrumb li { vertical-align: -4px; }
}

    /*** Buttons ***/
.emp_btn {
    display: block;
    width: 38px;
    height: 38px;
    border: 2px solid #CCCCCC;
    border-radius: 26px;
    background:url('../../image/icon_nex1.gif') no-repeat #FFFDFA;
    opacity: .4;
}
.com_btn, .nex_btn {
    display: block;
    width: 38px;
    height: 38px;
    border: 2px solid #CCCCCC;
    border-radius: 26px;
    cursor: pointer; 
    transition: 0.3s;
}
.nex_btn  {
    background:url('../../image/icon_nex1.gif') no-repeat #FFFDFA;
}
.nex_btn:hover { 
    border: 2px solid #FA8072;
    background:url('../../image/icon_nex1.gif') no-repeat #FFFFFF;
} 
.nex_btn:active { 
    opacity: 0.4;
}
.com_btn { 
    background:url('../../image/icon_com1.gif') no-repeat #FFFDFA;
}
.com_btn:hover { 
    border: 2px solid #FA8072;
    background:url('../../image/icon_com1.gif') no-repeat #FFFFFF; 
} 
.com_btn:active { 
    opacity: 0.4;
}

	/*** Blinking Element ***/
.blink {
	animation: blinking .8s infinite alternate;
	animation-timing-function: steps(1, start);
}
@keyframes blinking {
	0% { opacity:0; } 50% { opacity:0; } 100% { opacity:1; }
}

    /*** Move Drawer & Tab Button ***/
#drawer {
    display: none;
}
label {
    position: fixed;
}
    /* Tab Design */
.open {
    cursor: pointer;
    z-index: 2;
    bottom: 132px;
    right: 0;
    width: 22px;
    height: 48px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    background: #CCCCCC;
    transition: transform .5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before {
    content: "";
	display: block;
	height: 46px;
	background: url('../../image/icon_tab.png') no-repeat;
	background-position: center;
    background-size: contain;
	transform: scale(0.6);
	speak: none;
}
.close {
    z-index: 1;
    inset: 0;
    pointer-events: none;
}
#drawer:checked + .open {
    background: #F08080;
    transform: translateX(-180px);
}
#drawer:checked ~ .close {
    pointer-events: auto;
}
    /* Move Drawer Menu */
.move {
    z-index: 1;
    position: fixed;
    overflow: hidden;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 180px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    opacity: .9;
    background: #999999;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.move ul {
    margin: 0;
    padding: 0;
}
.move li {
    line-height: 1;
}
.move li:not(:last-of-type) {
    border-bottom: 1px solid #CCCCCC;
}
.move li span {
    font-size: small;
}
.move a {
    display: block;
    padding: .8em;
    text-decoration: inherit;
    color: #FFFFFF;
}
.move a:hover {
    background: #CCCCCC;
	left: initial;
	top: initial;
}
.move li:last-child {
    padding-left: .4em;
}
.move li:last-child a {
    display: inline-block;
    padding: .4em;
}
#drawer:checked ~ .move {
    transform: none;
}
#ruler-layer {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 100%;
	pointer-events: none;
	z-index: -10;
}
.pxruler {
	position: absolute;
	right: 30px;
	height: 0;
	font-size: 16px;
	color: #AAA;
	line-height: 1;
	pointer-events: none;
	z-index: -1;
}
@media screen and (max-width: 720px) {
    .open {bottom: 182px; height: 58px; background:#DDDDDD;}
	.open::before {transform: scale(0);}
    .move {height: 240px;}
    .move a {padding: .6em;}
    .move li span {position:absolute; left:-9999px; top:-9999px;}
	.pxruler {opacity:0;}
}
    /*** Heart Button - Design ***/
.aiin-css-tpl-sb-heart-btn .aiin-btn {
    position: relative;
    display: table;
    border-collapse: separate;
    border-spacing: 8px 2px;
    border: 2px solid #CCCCCC;
    border-radius: 26px;
    margin-top: 5px;
    height: 42px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #FFFDFA;
    line-height: 1;
    color: #888888;
    transition: color 0.3s;
}
    /* Heart Button - Design after Click */
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-sel {
    background: #FFFFFF;
    border: 2px solid #FA8072;
    color: #333333;
}
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-not-allowed {
    cursor: default;
}
    /* Heart Button - tcell */
.aiin-css-tpl-sb-heart-btn .aiin-tcell {
    display: table-cell;
    vertical-align: middle;
}
    /* Heart Button - Counter Text */
.aiin-css-tpl-sb-heart-btn .aiin-vcnt {
    font-size: 16px;
    line-height: 1.3;
    text-align: right;
    min-width: 15px;
}
    /* Heart Button - Icon */
.aiin-css-tpl-sb-heart-btn .aiin-icon {
    position: relative;
}
.aiin-css-tpl-sb-heart-btn .aiin-icon,
.aiin-css-tpl-sb-heart-btn .aiin-icon-off,
.aiin-css-tpl-sb-heart-btn .aiin-icon-on {
    width: 24px;
    height: 24px;
}
.aiin-css-tpl-sb-heart-btn .aiin-icon-off {
    position: relative;
    background: url('../../image/btn_icon-off.png');
    background-size: 100% 100%;
}
.aiin-css-tpl-sb-heart-btn .aiin-icon-on {
    position: absolute;
    top: 0;
    left: 0;
    background: url('../../image/btn_icon-on.png');
    background-size: 100% 100%;
    opacity: 0;
}
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-sel .aiin-icon-on {
    opacity:1;
}
.aiin-css-tpl-sb-heart-btn .aiin-btn:hover .aiin-icon-on {
    animation-name: aiin-css-tpl-sb-heart-btn-kf-icon-on-hover;
    animation-iteration-count: 1;
    animation-duration: 1s;
}
@keyframes aiin-css-tpl-sb-heart-btn-kf-icon-on-hover {
    0% { opacity:1; }
}
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-sel .aiin-icon-on {
    animation: none;
}
    /* Heart Button - Message */
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-sel .aiin-icon-on:after {
    position: absolute;
    font-family: 'Consolas', 'Verdana', 'Helvetica', sans-serif;
    font-size: 12px;
    color: #CD5C5C;
    content: "Thanks!";
    animation: myframeA 1.5s ease 2;
    animation-direction: alternate;
    animation-fill-mode: forwards;
}
.aiin-css-tpl-sb-heart-btn .aiin-btn.aiin-sel .aiin-icon-on:after {
    top: -24px;
    left: -2px;
}
@keyframes myframeA { 
    0% { opacity: 0; } 80% { opacity: 1} 100% { opacity: 1; } 
}