@charset "UTF-8";

/*base
----------------------------------*/
html {
  min-width: 320px;
  font-size: 62.5%;
}

body {
  margin: 0;
  background: #ededed;
  color: #454545;
  border-top: 6px solid #2e6a87;
  line-height: 1.5;
  font-size: 16px;
  font-size: 1.6rem;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
}

#description {
  display: none;
}

/*ナビゲーター*/

.li-group {
  padding: 0;
  margin: 30px 0;
}

.li-group li {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  float: left;
  text-align: center;
  list-style-type: none;
  cursor: pointer;
  color: #8a8a8a;
  margin-right: 25px;
  padding-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border .25s ease-out;
}

.li-group li:hover {
  color: #222;
  border-bottom: 1px solid #222;
}

.li-group .li-clicked {
  color: #222;
  border-bottom: 1px solid #222;
}

.li-group li a {
  text-decoration: none;
  color: inherit;
}

.li-group li a:hover {
  color: inherit;
}

.li-group li a:visited {
  color: inherit;
}

/*clearfix*/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

#pageTop {
  text-align: right;
  padding-top: 120px;
}

#pageTop a {
  text-decoration: none;
  color: #454545;
}

#porto a {
  text-decoration: none;
  color: #454545;
}

/*footer*/
footer {
  padding: 18px 0 16px;
  background: #2e6a87;
  color: #fff;
  text-align: center;
}

.grid-item a {
  border-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}

h1 {
  font-size: 20px;
  font-size: 2.0rem;
  font-family: 'Merriweather', serif;
  font-weight: 400;
}

h2 {
  font-size: 14px;
  font-size: 1.4rem;
  padding-left: 1em;
  font-family: 'Merriweather', serif;
  font-weight: 400;
}

h3 {
  font-size: 16px;
  font-size: 1.6rem;
  font-family: 'Merriweather', serif;
  font-weight: 400;
}

p {
  font-size: 14px;
  font-size: 1.4rem;
}

header a {
  text-decoration: none;
  color: #454545;
  display: flex;
  align-items: baseline;
}

.tab {
  padding: 0 4px;
  background-color: #ddd;
  box-sizing: border-box;
}

.tab h3 {
  margin-top: 10px;
  margin-bottom: 0;
}

.tab p {
  margin-top: 8px;
  margin-bottom: 20px;
}

.tab-hidden {
  display: none;
}

.loading {
  opacity: 0;
}

#profile {
  width: 86%;
  margin: 1em auto;
}

#profile .prof-left {
  float: left;
  margin-right: 20px;
}

#profile .prof-right {
  float: right;
  margin-left: 20px;
}

#profile img {
  border-radius: 10px;
}

.grid,
header,
#pageTop,
#porto {
  width: 94%;
  margin: 0 auto;
}

.grid-sizer,
.grid-item {
  width: 48%;
  margin-bottom: 0.4em;
  margin-right: 0.4em;
}

/*.grid-item--width2 { width: 97.4%; margin-bottom:0.4em; margin-right:0.4em;}*/
.grid-item--width4 {
  width: 100%;
  margin-bottom: 0;
  margin-right: 0;
}

#stockphoto {
  margin-top: 40px;
}

#stockphoto a {
  text-decoration: none;
  color: inherit;
}

#stockphoto a:hover {
  color: inherit;
  border-bottom: 1px solid #222;
}

#stockphoto a:visited {
  color: inherit;
}

#stockphoto .mr20 a {
  margin-right: 20px;
}

@media only screen and (min-width: 450px) {

  .grid,
  header,
  #pageTop,
  #porto {
    width: 410px;
    margin: 0 auto;
  }

}

@media only screen and (min-width: 600px) {
  h1 {
    font-size: 24px;
    font-size: 2.4rem;
  }

  h2 {
    font-size: 14px;
    font-size: 1.4rem;
  }

  h3 {
    font-size: 16px;
    font-size: 1.6rem;
  }

  p {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .grid,
  header,
  #pageTop,
  #porto {
    width: 560px;
    margin: 0 auto;
  }

  .grid-sizer,
  .grid-item {
    width: 31.3%;
  }

  /*.grid-item--width2 { width: 63.6%;}
*/
  .grid-item--width4 {
    width: 100%;
  }

  .tab {
    padding: 0 10px;
  }

  #profile {
    padding: 1.4em 2em;
    border: 1px solid #8a8a8a;
    border-radius: 10px;
  }
}

@media only screen and (min-width: 750px) {

  .grid,
  header,
  #pageTop,
  #porto {
    width: 710px;
    margin: 0 auto;
  }

}

@media only screen and (min-width: 1200px) {
  h1 {
    font-size: 28px;
    font-size: 2.8rem;
  }

  h2 {
    font-size: 16px;
    font-size: 1.6rem;
  }

  h3 {
    font-size: 20px;
    font-size: 2.0rem;
  }

  p {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .grid,
  header,
  #pageTop,
  #porto {
    width: 1200px;
    margin: 0 auto;
  }

  .grid-sizer,
  .grid-item {
    width: 23.5%;
  }

  /*.grid-item--width2 { width: 47.8%;}*/
  .grid-item--width4 {
    width: 100%;
  }

}