html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block
}
body {
line-height: 1
}
ol, ul {
list-style: none
}
img {
vertical-align: bottom
}
body {
width: 100%;
min-width: 320px;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
font-size: 14px;
font-size: 1.4rem;
font-style: normal;
line-height: 1.78;
color: #333333
}
a {
color: #754B2F;
text-decoration: none;
word-break: break-word
}
a:visited {
outline: none
}
a:hover {
text-decoration: none
}
img {
max-width: 100%
}
a:hover.hover {
opacity: 0.7;
transition: .4s;
}
.clearfix::after {
content: "";
display: block;
clear: both;
}
a.btn {
border-radius: 40px;
padding: 15px 50px;
color: #fff;
font-size: 0.8em;
background-color: #00833b;
text-decoration: none;
font-weight: bold;
vertical-align: top;
}
a:hover.btn {
color: #fff;
opacity: 0.7;
transition: .4s;
}
.header {
width: 100%;
padding: 0 0 10px 0;
background-color: #ffffff;
height: 35px;
z-index: 2;
}
.header img {
width: 300px;
height: auto;
margin-left: 10px;
}
.footer {
width: 100%;
text-align: center;
font-size: 0.8rem;
padding: 5px 0;
z-index: 2;
}
#main .logo {
position: absolute;
top: calc(50% + 30px - 208px);
left: calc(50% - 200px);
z-index: 2;
}
#main {
margin-top: 60px;
}
#main a {
display: block;
}
#media {
background: #a9d6db; /* Old browsers */
background: -moz-linear-gradient(-45deg, #a9d6db 0%, #70b4bc 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #a9d6db 0%,#70b4bc 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #a9d6db 0%,#70b4bc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a9d6db', endColorstr='#70b4bc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
width: 50%;
height: calc(50vh - 30px);
position: relative;
float: left;
z-index: 1;
}
#fashion {
background: #f2d0d3; /* Old browsers */
background: -moz-linear-gradient(-45deg, #f2d0d3 0%, #e6aaaf 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #f2d0d3 0%,#e6aaaf 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #f2d0d3 0%,#e6aaaf 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2d0d3', endColorstr='#e6aaaf',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
width: 50%;
height: calc(50vh - 30px);
position: relative;
float: left;
z-index: 1;
}
#art {
background: #f3e19d; /* Old browsers */
background: -moz-linear-gradient(-45deg, #f3e19d 0%, #e8c761 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #f3e19d 0%,#e8c761 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #f3e19d 0%,#e8c761 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3e19d', endColorstr='#e8c761',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
width: 50%;
height: calc(50vh - 30px);
position: relative;
float: left;
z-index: 1;
}
#healing {
background: #bcd9aa; /* Old browsers */
background: -moz-linear-gradient(-45deg, #bcd9aa 0%, #8bb971 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #bcd9aa 0%,#8bb971 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #bcd9aa 0%,#8bb971 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bcd9aa', endColorstr='#8bb971',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
width: 50%;
height: calc(50vh - 30px);
position: relative;
float: left;
z-index: 1;
}
#media .inner, #fashion .inner, #art .inner, #healing .inner {
position: absolute;
top: 50%;
left: 50%;
color: #ffffff;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
text-align: center;
}
#media .inner span, #fashion .inner span, #art .inner span, #healing .inner span {
display: block;
font-weight: normal;
font-size: 0.5em;
}
@media screen and (max-width: 768px) {
#main .logo {
width: 140px;/*ロゴのサイズ*/
top: calc(50% + 32px - 70px);
left: calc(50% - 73px);
}
#media {
width: 50%;
height: calc(50vh - 60px);
background-color: #a9d6db;
position: relative;
float: left;
z-index: 1;
}
#fashion {
width: 50%;
height: calc(50vh - 60px);
background-color: #f2d0d3;
position: relative;
float: left;
z-index: 1;
}
#art {
width: 50%;
height: calc(50vh - 60px);
background-color: #f3e19d;
position: relative;
float: left;
z-index: 1;
}
#healing {
width: 50%;
height: calc(50vh - 60px);
background-color: #bcd9aa;
position: relative;
float: left;
z-index: 1;
}
#media .inner, #fashion .inner, #art .inner, #healing .inner {
font-size: 0.8em;
line-height: 1.2em;
text-align: center;
}
#media .inner span, #fashion .inner span, #art .inner span, #healing .inner span {
display: block;
font-weight: normal;
font-size: 0.5em;
line-height: 1.4em;
}
}