/* ----------------------------------------------------------------------------
/* reset
---------------------------------------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
}
a {
  color: #333333;
  text-decoration: none;
}
sup {
  margin-left: 2px;
  font-size: 60%;
  vertical-align: top;
}



/* ----------------------------------------------------------------------------
/* body
---------------------------------------------------------------------------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  color: #333333;
  background: #dae2ea url(../img/photo_bg.jpg) no-repeat left top fixed;
  background-size: cover;
}
#container {
  position: relative;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 100px;
}
@media screen and (max-width: 1240px) {
  #container {
    width: calc(100% - 80px);
  }
}
@media screen and (max-width: 479px) {
  #container {
    width: calc(100% - 40px);
  }
  body {
    background: none;
  }
  body:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #dae2ea url(../img/photo_bg.jpg) no-repeat left top;
    background-size: cover;
  }
}

header {
  display: table;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}
header div,
header > ul {
  display: table-cell;
}
header div {
  color: #187fc4;
  font-size: 18px;
  font-weight: bold;
}
header div span {
  color: #333333;
}
header ul {
  font-size: 0;
  text-align: right;
}
header ul li {
  display: inline-block;
  font-size: 12px;
}
header ul li.current,
header ul li a {
  padding: 5px 10px;
}
header ul li.current {
  color: #187fc4;
  background-color: #d1e5f3;
}
header ul li a {
  display: block;
}
header ul li a:hover,
header ul li a:active,
header ul li a:focus {
  color: #187fc4;
  background-color: #d1e5f3;
}
header ul li {
  border: 1px solid #187fc4;
}
header ul li:nth-of-type(1) {
  border-right: none;
}
@media screen and (min-width: 769px) {
  header nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding-top: 20px;
  }
  header > ul {
    display: none;
  }
  header nav,
  header div {
    display: block;
  }
  header nav {
    margin-bottom: 20px;
  }
}

#container > h1 {
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.2em;
  text-shadow: 1px 0px 20px #ffffff, 0px 1px 20px #ffffff, -1px 0px 20px #ffffff, 0px -1px 20px #ffffff;
}
#container > h1 span {
  margin-left: -0.3em;
}

#lead {
  font-family: "Sawarabi Mincho";
  padding: 40px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(218,226,234,0.5));
  border-top-left-radius: 20px;
  line-height: 1.6em;
}

section {
  background-color: rgba(218,226,234,0.5);
}
section h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2em;
}
section h1:before,
section h1:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(51,51,51,0.8), rgba(218,226,234,0.5));
}
section h1 div {
  display: table;
  padding: 10px 20px;
}
section h1 div span {
  display: table-cell;
}
section h1 span:nth-of-type(1) {
  padding-right: 10px;
  border-right: 2px solid #333333;
  color: #036eb8;
}
section h1 span:nth-of-type(2) {
  padding-left: 10px;
}
section > p {
  padding: 20px 40px;
}
section > img {
  display: block;
  width: calc(100% - 40px);
  margin: 40px auto 60px;
}

article {
  margin-top: 20px;
  font-size: 0;
}
article .inner {
  padding: 20px;
}
article h1 span:nth-of-type(1) {
  width: calc(3em + 10px);
}
article .inner > img,
article p,
article ul {
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
}
article .inner > img {
  width: 120px;
}
article p {
  width: calc(100% - 420px);
  margin-left: 20px;
  margin-right: 20px;
  line-height: 1.6em;
}
article ul {
  width: 260px;
  font-size: 0;
}
article ul li {
  display: inline-block;
  width: 120px;
  font-size: 14px;
  line-height: 1.4em;
  vertical-align: top;
}
article ul li:nth-of-type(2) {
  margin-left: 20px;
}
article ul li a {
  display: block;
}
article ul li a:hover,
article ul li a:active,
article ul li a:focus {
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  section {
    background-color: rgba(218,226,234,0.8);
  }
  article .inner > img {
    width: 50%;
    margin-left: 25%;
  }
  article p,
  article ul {
    display: block;
    width: 100%;
    margin: 0;
    margin-top: 20px;
  }
  article ul li {
    width: calc((100% - 20px) / 2);
  }
  article ul.n1 {
    width: calc((100% - 20px) / 2);
    margin-left: auto;
    margin-right: auto;
  }
  article ul.n1 li {
    width: 100%;
  }
}
@media screen and (max-width: 479px) {
  #lead {
    padding: 20px;
  }
  section > h1 div {
    display: block;
  }
  section > h1 span:nth-of-type(1),
  section > h1 span:nth-of-type(2) {
    display: block;
    padding: 0;
    border-right: none;
  }
  section > h1 span:nth-of-type(1) {
    margin-bottom: 5px;
  }
  section > img {
    margin: 0 auto 40px;
  }
  section > img.pc {
    display: none;
  }
  article .inner > img {
    width: 60%;
    margin-left: 20%;
  }
}
@media screen and (min-width: 480px) {
  section > img.sp {
    display: none;
  }
}
