html,body,div,span,iframe,h1,h2,h3,h4,p,pre,del,em,img,b,i,dl,dt,dd,ol,ul,li,form,table,tbody,tr,th,td,article,aside,footer,header,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;box-sizing:border-box} article,aside,footer,header,nav,section,input,textarea{display:block} body{line-height:1;overflow-wrap:break-word;word-wrap:break-word} input,textarea,select{font-family:inherit;font-size:inherit;color:inherit;vertical-align:middle} a{margin:0;padding:0;text-decoration:none;outline:none;font-size:100%;vertical-align:baseline;background:transparent} a img{border-style:none} ul,li{list-style-type:none} .if-container{display:inline-block;margin:0 auto;height:100%;width:100%;overflow:auto;-webkit-overflow-scrolling:touch} .ifrm{border:none;display:block;height:100%;width:100%} .cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both} /* この上はいじらないほうがいいです */ html{ font-size:62.5%; height:100% } body{ background:#fff;/* インラインフレーム内背景 */ color:#ab9b82;/* インラインフレーム内文字色 */ font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック','MS PGothic',sans-serif; font-size:1.5em; letter-spacing:.1em; line-height:2; text-align:center; padding:0 15px 60px } #menu,h1,h2{ font-family:'Averia Libre', cursive,Georgia,Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック','MS PGothic',sans-serif } a{ color:#cf5c62; text-decoration:underline } a:hover{ color:#ab9b82; transition:.6s } #page a{ text-decoration:none } /*-------------------------------------------------------- インラインフレーム外設定 --------------------------------------------------------*/ #page{ background:#fff url(image/back01.gif); color:#ab9b82; padding:20px; height:100% } #page a{ text-decoration:none } #wrapper{ position:relative; min-width:926px; height:100% } header{ padding:10px 20px } #contents{ margin:0 auto } #contents-inner{ margin:0 auto; width:926px /* #contents-boxのwidth+134 */ } #contents-box{ background:#fff; margin:0 auto; width:792px /* 枠の「メイン枠」のwidthと同じ */ } footer{ padding:10px 20px } #open{ display:none } /*-------------------------------------------------------- ページ上部へのリンク、著作権表示 --------------------------------------------------------*/ #pagetop{ display:block; position:fixed; padding-top:5px; right:10px;bottom:-100px; width:50px;height:50px; z-index:50; -webkit-transition:.5s; transition:.5s } #pagetop:before,#pagetop:after{ position:absolute; content:""; width:28px;height:40px; background:#ffb9c5 } #pagetop:before{ left:6px; -ms-transform:rotate(-45deg); -webkit-transform:rotate(-45deg); transform:rotate(-45deg); border-radius:50px 50px 0 0 } #pagetop:after{ left:16px; -ms-transform:rotate(45deg); -webkit-transform:rotate(45deg); transform:rotate(45deg); border-radius:50px 50px 0 0 } .arrow{ border-left:3px solid #fff; border-top:3px solid #fff; position:absolute; top:40%;left:38%; height:12px;width:12px; -ms-transform:rotate(45deg); -webkit-transform:rotate(45deg); transform:rotate(45deg); box-sizing:border-box; z-index:2 } #fl{ background:rgba(255,185,197,.5); border-radius:5px; color:#fff; padding:5px } #fl:hover{ background:rgba(72,59,60,.6) } /*-------------------------------------------------------- メニュー --------------------------------------------------------*/ #menu{ font-size:1.3em; line-height:1; padding:20px 0 0; width:100%; text-align:center } #menu li{ display:inline-block; min-height:20px } #menu li{ background:url(image/icon03.gif) no-repeat 100% 50%; padding:0 20px 0 0 } #menu li:last-child{ background-image:none } #menu li a{ color:#ab9b82; display:inline-block; padding:0 10px } #menu li a:hover{ background:rgba(255,185,197,.5); border-radius:5px; color:#fff } /*-------------------------------------------------------- index --------------------------------------------------------*/ #index{ background:#fff url(image/back01.gif); color:#ab9b82; margin:20px auto; height:auto } #indexcontents-inner{ margin:0 auto; width:431px /* #indexcontents-boxのwidth+134 */ } #indexcontents-box{ background:#fff; margin:0 auto; padding:10px; width:297px /* 枠の「index枠」のwidthと同じ */ } /*-------------------------------------------------------- 見出し、枠、線 --------------------------------------------------------*/ h1{ color:#ffb9c5; font-size:2.4em; font-weight:700; letter-spacing:.2em; line-height:1; text-shadow:5px 5px 5px #ccc } #page h1{ color:inherit } h2{ background:#fff url(image/back01.gif); box-shadow:5px 5px 5px #ccc; border-radius:5px; font-size:1.3em; font-weight:700; margin:20px 0; padding:0 1em; } h3{ position:relative; z-index:1; } h3:after{ content:""; position:absolute; left:0;bottom:0; width:100%; height:7px; background:-webkit-repeating-linear-gradient(-45deg, #dbf0eb, #dbf0eb 2px, #fff 2px, #fff 4px); background:repeating-linear-gradient(-45deg, #dbf0eb, #dbf0eb 2px, #fff 2px, #fff 4px); } dt{ color:#c2ae70; font-weight:700; margin:0 0 5px } dd{ border-bottom:dotted 1px; margin:0 0 5px } dl:after{ content:""; clear:both; height:0; display:block; visibility:hidden } em{ background:#fff3cc; /* Ie9 */ background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #fff3cc), color-stop(1, #fff3cc)); background: -webkit-linear-gradient(transparent 50%, #fff3cc 0%); background: linear-gradient(transparent 50%, #fff3cc 0%); font-weight:700 } input,textarea{ background:#fff9dd; border-radius:8px; border:1px dashed; margin:3px auto; padding:2px; width:400px; } textarea{ height:50px } hr{ display:block; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; height:1px } .marker{ background:#f8c8c8; /* Ie9 */ background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #f8c8c8), color-stop(1, #f8c8c8)); background:-webkit-linear-gradient(transparent 50%, #f8c8c8 0%); background:linear-gradient(transparent 50%, #f8c8c8 0%) } .textbox{ background:#fff7f8; border:0; border-radius:20px; margin:3px 0; padding:5px 10px } .title{ color:#ab9b82; font-size:1.5em; font-weight:700; margin:2em 0; text-align:right } .title:first-letter{ color:#f3d0d0; font-size:1.6em } .frame{ border:6px solid #fff; border-radius:3px; box-shadow:4px 4px 4px #ccc; -webkit-box-shadow:4px 4px 4px #ccc } /*-------------------------------------------------------- 枠 --------------------------------------------------------*/ .k01{background:url(image/f-kado1.gif) no-repeat;height:67px;width:67px;float:left} .k02{background:url(image/f-kado2.gif) no-repeat;height:67px;width:67px;float:left} .k03{background:url(image/f-kado3.gif) no-repeat;height:67px;width:67px;float:left} .k04{background:url(image/f-kado4.gif) no-repeat;height:67px;width:67px;float:left} .r01{background:url(image/f-migi.gif) repeat-y 100% 0;width:100%} .l01{background:url(image/f-hidari.gif) repeat-y;width:100%} /* メイン枠 99の倍数 */ .u01{background:url(image/f-ue.gif) repeat-x;float:left;height:67px;width:792px} .s01{background:url(image/f-sita.gif) repeat-x;float:left;height:67px;width:792px} /* index枠 99の倍数 */ .u02{background:url(image/f-ue.gif) repeat-x;float:left;height:67px;width:297px} .s02{background:url(image/f-sita.gif) repeat-x;float:left;height:67px;width:297px} /*-------------------------------------------------------- 横幅946pxで切り替え --------------------------------------------------------*/ @media screen and (max-width: 946px){ #wrapper{min-width:530px} #contents-inner{width:530px} #contents-box,.u01,.s01{width:396px} } /*-------------------------------------------------------- スマホ、タブレット用 横幅600pxで切り替え --------------------------------------------------------*/ @media screen and (max-width: 600px){ #page,#index{padding:0} #wrapper{width:100%;min-width:inherit} #contents,#contents-inner,#contents-box,#indexcontents-inner,#indexcontents-box{width:100%} .k01,.k02,.k03,.k04,.r01,.l01{background:none;height:auto;width:auto;float:none} .u01,.s01,.u02,.s02{width:auto;float:none} h1{font-size:2em;} #page h1,#index h1{font-size:1.6em;} header{padding: 10px 70px;min-height:80px} /* ボタン分空ける */ input,textarea{width:200px} img{max-width:100%;height:auto} /* 画像の縮小表示 */ /* スライド */ #menu{ background:rgba(51,25,0,.8); /* 背景色 */ padding:80px 20px 20px; /* メニューボタン分上を空ける */ height:100%;width:300px; /* (*1)同じにする */ transition:all .3s; transform:translate(300px); /* (*1)同じにする */ -ms-transform:translate(300px); /* (*1)同じにする */ -webkit-transform:translate(300px); /* (*1)同じにする */ position:fixed; top:0;right:0; z-index:1000 } #menu.open{ transform:translate(0); -ms-transform:translate(0); -webkit-transform:translate(0) } nav{ overflow:auto; -webkit-overflow-scrolling:touch; height:100% } #menu li{ display:block; border-bottom:1px solid #331900 } #menu li{ background:none; padding:10px } #menu li a{ color:#fff; background:rgba(255,185,197,.5); border-radius:5px; text-shadow:5px 5px 2px #331900; display:block; padding:10px } #menu li a:hover{ background:rgba(255,185,197,.3) } /* メニューを開くボタン */ #open{ color:#ab9b82;/* 文字色 */ display:inline-block; position:absolute; text-align:center; height:80px;width:70px;/* 大きさ */ top:0;right:0;/* 位置 */ z-index:1001 } .open-text{position:absolute;bottom:0;left:0;width:100%} #open .close + .open-text{color:#ffb9c5}/* 開いた時の文字色 */ #open-icon,#open-icon:before,#open-icon:after{background:#ab9b82} /* 線の色 */ #open-icon{display:block;margin:-2px 0 0 0;position:absolute;top:50%;left:20px;height:4px;width:30px} #open-icon:before,#open-icon:after{content:"";display:block;position:absolute;top:50%;left:0;height:4px;width:30px;transition:.3s} #open-icon:before{margin-top:-13px} #open-icon:after{margin-top:9px} #open .close{background:transparent;color:#fff} #open .close:before,#open .close:after{margin-top:0;background:#fff} #open .close:before{-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)} #open .close:after{-ms-transform:rotate(-135deg);-webkit-transform:rotate(-135deg);transform:rotate(-135deg)} }