@import url("../../../css/common.css"); /* //////////////////// 全体の設定 //////////////////// */ * { margin:0; padding:0; font-family: 'Trebuchet MS', メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'MS Pゴシック', 'MS PGothic', sans-serif; } html,body { width:100%; height:100%; color:#000000; text-align:center; background-color:#f7f7f7; } .content{} #container{ margin: 100px auto 200px auto; letter-spacing: 1px; max-width: 800px; text-align: left; padding: 50px 0; img{ width:100%; margin-bottom: 40px; } h1{ font-size: 28px; padding-bottom: 10px; border-bottom: 1px solid #333333; display: block; margin-bottom: 30px; line-height: 1.4; position: relative; font-weight: 600; } h1:after { position: absolute; bottom: -1px; left: 0; z-index: 2; content: ''; width: 20%; height: 1px; } span.date{ display:block; text-align:right; font-size: 14px; margin:-30px 0 10px 0; } h2{ font-size: 20px; padding:5px 0; border-bottom: 1px solid #eee; display: block; margin: 0 0 30px 0; line-height: 1.4; position: relative; font-weight: 600; } h2:after { position: absolute; bottom: -1px; left: 0; z-index: 2; content: ''; width: 20%; height: 1px; } h3{ font-size: 20px; padding:3px 5px; border-left: 10px solid #000000; display: block; margin: 100px 0 30px 0; line-height: 1.4; position: relative; font-weight: 600; } h4{ font-size: 14px; font-weight: 600; padding:0px 5px; border-left: 4px solid #000000; margin: 40px 0 20px 0; } .text_box{ clear:both; margin-bottom: 50px; } .brand-box{ border: 1px solid #000000; padding:40px 20px 0 20px; p{font-size:9px;} } p{ margin-bottom: 30px; font-size: 13px; color: #333333; line-height: 2; } .item_link{ clear:both; padding: 20px 0; margin-bottom:20px; border-top:1px dotted #cccccc; border-bottom:1px dotted #cccccc; overflow: hidden; a img{ width:20%; height:auto; float:left; margin:0; } .item_link_box{ float: right; width: 78%; color: #333333; } .item_name{ margin-bottom: 10px; font-size: 16px; } .item_price{ color: #666666; font-size: 14px; } .item_button a{ height: 40px; margin-top: 30px; font-size: 13px; line-height: 40px; color: #ffffff; letter-spacing: 1px; display: block; text-align: center; border-radius: 3px; background-color: #333333; } .item_button a:hover{ filter:alpha(opacity=75); -webkit-opacity:0.75; -moz-opacity:0.75; -o-opacity:0.75; opacity:0.75; -webkit-transition:all 0.1s linear; -moz-transition:all 0.1s linear; -o-transition:all 0.1s linear; transition:all 0.1s linear; } a img{ display:block; } } } @media screen and (max-width:640px) { .content{ width:96%; margin: 0 auto; } #container{ margin: 20px auto 200px auto; letter-spacing: 1px; max-width: 800px; text-align: left; padding: 50px 0; .text_box{ font-size:12px; margin-bottom: 50px; } h1{ margin-bottom: 20px; padding-bottom: 5px; font-size: 18px; } span.date{ font-size: 14px; margin:-20px 0 10px 0; } h2{ margin-bottom: 20px; padding-bottom: 5px; font-size: 16px; } h3{ font-size: 16px; } img{ margin-bottom: 20px; width:100%; } .item_link a img{ width:30%; height:30%; } .item_link .item_link_box{ float: right; width: 65%; color: #333333; } .item_link .item_name{ margin-bottom: 5px; font-size: 13px; line-height: 15px } .item_link .item_price{ color: #666666; font-size: 12px; text-align:right; } .item_link .item_button a{ height: 40px; margin-top: 10px; font-size: 12px; } } } /* //////////////////// header //////////////////// */ section#fixed_position_content { position:fixed; top:0; background:#FFFFFF; overflow:hidden; width:96%; padding:10px 2% 10px 2%; z-index:9999; box-shadow:rgba(113, 135, 164, 0.129412) 0px 10px 4px -7px; -webkit-box-shadow:rgba(113, 135, 164, 0.129412) 0px 10px 4px -7px; -moz-box-shadow:rgba(113, 135, 164, 0.129412) 0px 10px 4px -7px; } section#fixed_position_content #header{ text-align:center; } section#fixed_position_content #header img{ width:207px; } @media screen and (max-width:640px) { section#fixed_position_content { padding:10px 2% 5px 2%; } section#fixed_position_content #header img{ width:30%; height:auto;} } /************************* footer ***************************/ // フッター footer { background:#303030; padding: 40px; margin:0;} footer ul { display: flex; flex-wrap: wrap; justify-content: center; list-style-type: none;} footer li { margin: 0 10px 0 0; a{ font-size: 0.8rem; }} footer li:first-child { margin: 0 auto 0 0; } @media screen and (max-width: 30rem) { footer li { margin: 5px 10px; } footer li:first-child { margin: auto; width: 100%; } } footer a { font-family: "Montserrat"; color: #cccccc; } footer a:hover { color: #DF0000;} footer a i { margin: 0 0.25rem 0 0; } #footer-logo { width: 160px; fill: #cccccc; } @media screen and (max-width: 30rem) { #footer-logo { width: 160px; fill: #cccccc; margin: 0 auto 24px auto; display: block; } }