/*********************************************************************
	Hiroshi SUGIMURA Style Seet type formal_pink
 *********************************************************************/

:root {
    --main-bg: #F0F0F0;
    --main-text: #000000;
    --sub-bg: #ffdddd;
    --sub-text: #bb4444;
	--accent: #2A7762;
	--strong: #DC143C;
    --link-text: #880000;
    --shadow: #333333;
    --inner-bg: #FFFFFF;
}


/* 回り込みの解除 */

.clear {
    clear: both;
}



/* 改行しない */

.inline {
    display: inline;
}



/* 右寄せ */

.right {
    text-align: right;
}



/* 取り消し線 */

.del {
    text-decoration: line-through;
}



/* フロート */

.f_left {
    float: left
}



/* 影付き文字 */

.shadow {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}



/* ===================================== */


/* レイアウト */

.layoutIndex {
    margin: 0 auto;
    /*ブラウザの中央に配置*/
    width: 95%;

    display: flex;
    justify-content: center;
}

.leftboxIndex {
    margin-top: 2px margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;
    min-width: 350px;

    display: inline-block;
    box-flex: 1;
    -ms-box-sizing: content-box;
    /* Internet Explorer 8用 */
}

.rightboxIndex {
    margin-top: 2px margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;

    display: box;
    box-flex: 2;
    -ms-box-sizing: content-box;
    /* Internet Explorer 8用 */
}



/* top絵 */

.topimg {
    text-align: center;
    width: 300px;
    padding: 5px;
}

.topimg img {
    -moz-transition: -moz-transform 0.5s linear;
    -webkit-transition: -webkit-transform 0.5s linear;
    -o-transition: -o-transform 0.5s linear;
    -ms-transition: -ms-transform 0.5s linear;
    transition: transform 0.5s linear;
}

.topimg img:hover {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.followimg {
    text-align: center;
    width: 200px;
    padding: 5px;
}

.followimg img {
    -moz-transition: -moz-transform 0.5s linear;
    -webkit-transition: -webkit-transform 0.5s linear;
    -o-transition: -o-transform 0.5s linear;
    -ms-transition: -ms-transform 0.5s linear;
    transition: transform 0.5s linear;
}

.followimg img:hover {
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -o-transform: scale(3);
    -ms-transform: scale(3);
    transform: scale(3);
}



/* ===================================== */


/* その他のページレイアウト */

.layout {
    margin: 0 auto;
    /*ブラウザの中央に配置*/
    width: 95%;
    display: flex;
    justify-content: center;
}

.leftbox {
    margin: 1em;
    padding: 1em;
    display: inline-block;
    box-flex: 1;
    -ms-box-sizing: content-box;
    /* Internet Explorer 8用 */
}


.rightbox {
    margin: 1em;
    padding: 1em;
    min-width: 500px;
    display: inline-block;
    box-flex: 1;
    -ms-box-sizing: content-box;
    /* Internet Explorer 8用 */
}





/* 写真 */

.pict {
    display: block;
    /* ブロックレベル表示に */
    -moz-box-shadow: 0 4px 10px var(--shadow);
    /* 影を落とす */
    -webkit-box-shadow: 0 4px 10px var(--shadow);
    box-shadow: 0 4px 10px var(--shadow);
    -webkit-transform: rotate(5deg);
    /* 回転 */
    -moz-transform: rotate(5deg);
    -ms-transform: rotate(52deg);
    transform: rotate(5deg);
    border: 2px dotted var(--strong);
    /*ボーダーの太さ・種類（ドット線）・色*/
    opacity: 0.9;
}

section {
    background-color: var(--inner-bg);
    margin: 0.5em;
    padding: 1em;
    /* 影付け */
    border: 1px solid var(--shadow);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);

    filter: progid:DXImageTransform.Microsoft.Shadow(color=#777777, direction=0, strength=3, enabled=true);
    /* IE以外なら丸角も */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


.absolute {
    position: absolute;
}

section img {
    max-width: 400px;
}


/*********************************************************************
 個別設定
 *********************************************************************/

html {
    height: 100%;
    position: relative;
    /* font-family: Helvetica , "游ゴシック" , "Yu Gothic" , sans-serif; */
    font-family: "游明朝体", "Yu Mincho", YuMincho, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
}



/* 本体メイン */

body {
    height: 100%;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    color: var(--main-text);
    background-color: var(--main-bg);
    font-size: medium;
    position: relative;
}

#contents {
    max-width: 1280px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: auto; */
    margin-bottom: 0;
    height: auto;
    min-height: 70%;
    padding: 0;
}


.iframe-wrap {
    position: relative;
    width: 100%;
    padding: calc(480 / 800 * 100%) 0 0;
    text-align: center;
}

.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 99%;
    margin: auto;
}


/* アンカー */

a {
    color: var(--strong);
    text-decoration: none;
    /* border: solid 1px #ff0000; */
    font-weight: bolder;
    /* font-style: italic; */
}



/* マウスが上にきたとき */

a:hover {
    border-bottom: 1px solid var(--strong);
    color: var(--strong);
}



/* 一度訪れたことがあるとき */

a:visited {
    color: var(--accent);
}



/* クリックしたとき */

a:active {
    color: #111111;
}


/* タイトル */

h1 {
    color: var(--accent);
    font-size: 200%;
    margin-top: 10px;
    margin-bottom: 10px;
    /* background-color: #FC9DB8; */
    padding-left: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    /* border-top: 2px solid var(--sub-text); */
    /* border-bottom: 2px solid var(--sub-text); */
    font-weight: bold;
    padding-left: 1em;
}



/* パート */

h2 {
    color: var(--sub-text);
    font-size: 130%;
    border-left: solid 1em var(--sub-text);
    border-bottom: solid 2px var(--sub-text);
    padding-left: 0.5em;
    margin-top: 1em;
    margin-left: 1em;
}



/* チャプター */

h3 {
    background-color: var(--inner-bg);
    color: var(--sub-text);
    font-size: 120%;
    border-left: solid 0.5em var(--sub-text);
    border-bottom: 2px dashed;
    padding-right: 1em;
    padding-left: 0.5em;
    margin-left: 2em;
}



/* セクション */

h4 {
    color: var(--sub-text);
    background-color: var(--inner-bg);
    font-sieze: 110%;
    border-left: solid 0.1em var(--sub-text);
    border-bottom: 2px dashed;
    padding-right: 1em;
    padding-left: 0.5em;
    margin-left: 3em;
}



/* サブセクション */

h5 {
    color: var(--sub-text);
    background-color: var(--inner-bg);
    font-sieze: 110%;
    border-left: solid 0.1em var(--sub-text);
    border-bottom: 2px dashed;
    padding-right: 1em;
    padding-left: 0.5em;
    margin-left: 4em;
}



/* ラインリスト */


/* ヘッダーのラインリスト */

header ul {
    margin: 0px;
    color: var(--inner-bg);
    background-color: var(--sub-bg);
    padding-left: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-top: 2px solid var(--sub-text);
    border-bottom: 2px solid var(--sub-text);
    font-weight: bold;
}

li {}



/* パラグラフ(段落) */

p,
ul,
dl {
    margin-left: 3em;
    font-size: 100%;
}


p {
    padding-left: 3em;
    font-size: 100%;
}

div.right {
    text-align: right;
}

div.small {
    font-size: 70%;
}


dt {
    border-bottom: solid 1px #cccccc;
    margin-top: 1em;
}

dd {
    border: inherit;
    padding-left: 1em;
    font-size: 90%;
}




/* 取り消し線 */

font.del {
    text-decoration: line-through;
}



/* アドレスを改行しないで */

address {
    /* display: inline; */
}



/* 整形済み文章 */

pre {
    margin-left: 5em;
    margin-right: 5em;
    margin-bottom: 5pt;
    margin-top: 5pt;
    color: var(--strong);
    background: var(--inner-bg);
    padding: 1em;
    border: 3px dashed var(--sub-text);
    white-space: pre;
    font-sieze: 90%;
}

b {
    color: var(--sub-text);
}

table {
    border-collapse: collapse;
    /* 隣接セルの間をあけずに配置 */
    background-color: var(--sub-bg);
    border-top-color: var(--sub-bg);
    border-left-color: var(--sub-bg);
    border-right-color: var(--strong);
    border-bottom-color: var(--strong);
    margin-left: 5em;
}

table.data {
    border-collapse: collapse;
    /* 隣接セルの間をあけずに配置 */
    background-color: #ffdddd;
    border-top-color: var(--sub-bg);
    border-left-color: var(--sub-bg);
    border-right-color: var(--strong);
    border-bottom-color: var(--strong);
    margin-left: 5em;
}

table td {
    background-color: var(--inner-bg);
    border-top-color: var(--strong);
    border-left-color: var(--strong);
    border-right-color: var(--sub-bg);
    border-bottom-color: var(--sub-bg);
}

table.data td {
    /* vl = visible line */
    background-color: var(--inner-bg);
    border-top: 0px solid var(--strong);
    border-left: 0px solid var(--strong);
    border-right: 1px solid var(--sub-bg);
    border-bottom: 1px solid var(--sub-bg);
    text-align: right;
}

header {
    padding-top: 0.5em;
    padding-left: 0;
    /* padding-bottom: 10px; */
    background-color: var(--sub-bg);
    font-size: 100%;
    border-bottom: 2px solid var(--sub-text);
    text-align: center;
}

#nav {
    padding-top: 0;
    padding-bottom: 2px;
    padding-left: 0;
    background-color: var(--sub-bg);
    display: flexbox;
}

#nav ol {
    margin: 0px;
    margin-top: 2px;
    padding: 0px;
    flex-wrap: wrap;
    display: inline-flex;
}

#nav li {
    display: inline;
    font-weight: bold;
    border-left: solid 1em var(--strong);
    border-bottom: solid 1px var(--strong);
    margin-left: 0.5em;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 3px;
    min-width: 100px;
}

footer {
    margin: auto 0px 0px 0px;
    border-top: 2px solid var(--sub-text);
    padding-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 50px;
    background-color: var(--sub-bg);
    font-size: 120%;
}






/*********************************************************************
	EOF
 *********************************************************************/
