コトリエ カフェ - CSS記述

CSS記述

@charset "utf-8";

html, body, h1, h2, h3, h4, p, ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  line-height: 1.0;
  font-family:
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
}
header, footer, section, article, aside, nav { display: block; }

/* font-size */
html { font-size: 62.5%; }  /* =10px */
body { font-size: 16px; font-size: 1.6rem; }  /* =16px */
h1 { font-size: 32px; font-size: 3.2rem; }
h2 { font-size: 24px; font-size: 2.4rem; }
h3 { font-size: 20px; font-size: 2.0rem; }
h4 { font-size: 18px; font-size: 1.8rem; }
p { font-size: 16px; font-size: 1.6rem; }

/* body
-------------------------------------------*/
body {
  font-size: 16px;
  background: #FFF;
  color: #000;
}

/* layout
-------------------------------------------*/
.header {
  height: 100px;
  background: #96CC29;
}
  .headerInner {
    overflow: hidden;
    width: 960px;
    margin: 0 auto;
    padding: 10px 0;
    
  }
.main {
  overflow: hidden;
  width: 960px;
  margin: 0 auto;
}
  .mainInner {
    overflow: hidden;
    width: 960px;
    margin: 0 auto;
    padding: 40px 0;
  }
.menu {
  width: 100%;
  background: #F7F4DD;
}
  .articleInner {
    overflow: hidden;
    width: 960px;
    margin: 0 auto;
    padding: 30px 0;
  }
.info {
  overflow: hidden;
  width: 960px;
  margin: 0 auto;
  padding: 30px 10px;
}
.aside {
  background: #D5EBA9;
  padding: 30px 10px;
}
.asideInner {
  overflow: hidden;
  width: 960px;
  margin: 0 auto;
}
.footer {
  width: 100%;
  height: 100px;
  background: #96CC29;
}
.footerInner {
  overflow: hidden;
  width: 960px;
  margin: 0 auto;
}

/* header
-------------------------------------------*/
.hgroup {
  float: left;
  width: 400px;
  margin-top: 10px;
  position: relative;
}
  .hgroup h1 {
    position: absolute;
    left: 77px;
    top: 24px;
    font-size: 36px;
    color: #FFF;
    letter-spacing: 0.082em;
    font-family: "Arial Black", Gadget, sans-serif;
  }
  .hgroup p.copy {
    position: absolute;
    left: 77px;
    top: 5px;
  }
.gnav {
  float: right;
  width: 420px;
  text-align: right;
}
  .gnav>ul {
    overflow: hidden;
    margin-top: 4px;
  }
  .gnav li {
    float: left;
    text-align: center;
  }
  .gnav li a {
    display: block;
    width: 120px;
    margin-left: 20px;
    padding: 48px 0 10px 0;
    background: #FFF;
  }

/* .main
-------------------------------------------*/
.mainInner {
  padding: 40px 0;
}
  .mainInner h2 {
    margin: 0 0 10px 10px;
    color: #605D1D;
    line-height: 1.2;
    font-size: 38px; font-size: 3.8rem;
  }
  .mainInner h2>img {
    float: right;
    margin-top: 40px;
  }
  .mainInner p {
    width: 480px;
    margin: 0 0 10px 10px;
    line-height: 1.6;
    font-size: 14px; font-size: 1.4rem;
  }
  .mainInner p.btn {
    margin-left: 10px;
    padding: 10px 0 7px 0;
    background: #387F26;
    text-align: center;
    color: #FFF;
    font-size: 18px; font-size: 1.8rem;
    font-weight: bold;
  }

/* .menu
-------------------------------------------*/
.menuGroup {
  overflow: hidden;
  margin-bottom: 30px;
}
.articleInner h2 {
   float: left;
  color: #605D1D;
  font-size: 38px; font-size: 3.8rem;
}
.articleInner p.btn {
  float: right;
  width: 220px;
  padding: 14px 0 13px 0;
  background: #387F26;
  text-align: center;
  color: #FFF;
  font-size: 18px; font-size: 1.8rem;
  font-weight: bold;
}
.articleInner h3 {
  margin-bottom: 15px;
  color: #605D1D;
  font-size: 18px; font-size: 1.8rem;
  text-align: left;
}
  .set {
    float: left;
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
  }
  .set p>img {
    width: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  .set p.cap {
   text-align: left;
   line-height: 1.3;
  }
  .set p.cap>a {
    text-decoration: underline;
    line-height: 1.5;
    color: #387F26;
  }

/* .news
-------------------------------------------*/
.sectionInner h2, .recommend h3 {
  margin-bottom: 20px;
  color: #605D1D;
  font-size: 28px; font-size: 2.8rem;
}
.news {
  float: left;
  width: 480px;
}
.news dt {
  float: left;
  line-height: 1.7;
  font-weight: bold;
  color: #333;
}
.news dt>i {
  margin-right: 8px;
  color: #666;
}
.news dd {
  padding-left: 9em;
  margin-bottom: 10px;
  line-height: 1.5;
}
.news dd>a {
    text-decoration: underline;
    color: #387F26;
}
.recommend {
  float: right;
  width: 460px;
}
li.sns a {
  float: left;
  display: block;
  width: 220px;
  height: 50px;
  margin: 0 20px 20px 0;
  line-height: 50px;
  background: #96CC29;
  text-align: center;
  color: #FFF;
  font-weight: bold;
}
li.sns:nth-child(2n) a  {
  margin-right: 0;
}

/* .aside
-------------------------------------------*/
.asideInner h2 {
  float: left;
  width: 120px;
  margin: 8px 20px 30px 0;
  color: #605D1D;
  font-size: 28px; font-size: 2.8rem;
}
  .asideInner h3 {
    width: 220px;
    margin-left: 140px;
    padding: 12px 0 10px 0;
    background: #387F26;
    text-align: center;
    color: #FFF;
    font-size: 18px; font-size: 1.8rem;
    font-weight: bold;
 }
  .asideInner dl {
    clear: both;
    overflow: hidden;
    width: 100%;
  }
  .address {
    float: left;
    width: 500px;
  }
 .dateTime {
    float: left;
    width: 460px;
  }
  .address dt, .dateTime dt {
    float: left;
    }
  .address dd {
    padding-left: 4em;
    margin-bottom: 10px;
    line-height: 1.3;
    }
  .dateTime dd {
    padding-left: 8em;
    margin-bottom: 10px;
  }

/* .footer
-------------------------------------------*/
.footer {
  text-align: center;
  padding-top: 20px;
}