@charset "utf-8";

/* --------------------------------------------------------------------------------
html { font-size:62.5%; = 10px }
body { font-size:1.6rem; = 16px }
font-family: Arial, Roboto, 'Droid Sans', '游ゴシック', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
font-family: 'Times New Roman', '游明朝', YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'メイリオ', Meiryo, serif;
-------------------------------------------------------------------------------- */

html {
  font-size: 10px;
  height: 100%;
}

body {
  font-size: 1.3rem;
  font-family: Arial, Roboto, 'Droid Sans', '游ゴシック', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  letter-spacing: 0;
  color: #333;
  min-width: 960px;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

br {
  letter-spacing: normal;
}

img {
  vertical-align: bottom;
}

div.hidden {
  overflow-x: hidden;
}

a {
  color: #B7193F;
}

a:hover {
  color: #226942;
  text-decoration: none;
}


/* WRAP */

#wrap {
  margin: 0 auto;
  width: 960px;
  position: relative;
}


/* HEADER */

#header {
  margin: 0 -500%;
  padding: 48px 500% 0;
  width: 960px;
  background: url(../images/bg_head.gif) repeat-x 0 0;
  position: relative;
}

#header > div {
  margin: 0 0 15px;
  padding: 0;
  width: auto;
  float: left;
}

#header p {
  display: flex;
  margin: -48px 0 0;
  padding: 0;
  width: auto;
  float: right;
  font-size: 0;
  border-top: 4px solid #B7193F;
}

#header p a {
  margin: 0;
  padding: 5px 10px 5px;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #FFF;
  text-decoration: none;
  background: #B7193F;
}

#header p a.current,
#header p a:hover {
  background: #8D0719;
}

#header p a:first-of-type {
  border-bottom-left-radius: 4px;
}

#header p a:last-of-type {
  border-bottom-right-radius: 4px;
}

#header > p > a:nth-child(2),
#header > p > a:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #226942;
  line-height: 1;
}

#header > p > a:nth-child(2):hover,
#header > p > a:nth-child(2).current,
#header > p > a:nth-child(3):hover,
#header > p > a:nth-child(3).current {
  background-color: #155332;
}

#header > p img {
  height: 1.3em;
  filter: brightness(0) invert(1);
}

#header > p > a:nth-child(2) > img,
#header > p > a:nth-child(3) > img {
  translate: 0 -1px;
}

#header > p > a:nth-child(4) > img,
#header > p > a:nth-child(5) > img {
  display: none;
}

#header p+div {
  margin-top: -6px;
  float: right;
}

#header p+div img {
  height: 63px;
  width: auto;
}

#header ul {
  clear: both;
  display: flex;
  justify-content: space-between;
  margin: 0 -500%;
  padding: 0 500%;
  font-size: 0rem;
  text-align: center;
  /* width: 960px; */
  background: #B7193F;
}

#header ul li {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 70px;
  white-space: nowrap;
  list-style: none;
}

/* #header ul li:last-child {
  display: none;
} */

#header ul li a {
  display: block;
  padding: 0 10px;
  color: #FFF;
  text-align: center;
  text-decoration: none;
}

#header ul li.current a,
#header ul li a:hover {
  background: #8D0719;
}


/* HEADER */


/* CONTENT */

#content {
  margin: 0 -500%;
  padding: 0 500%;
  width: 960px;
  background: #E9BAC5;
  position: relative;
  overflow: hidden;
}

#content h1 {
  margin: 0 -500%;
  padding: 30px 500% 40px;
  text-align: center;
  width: 960px;
  background: #FFF;
  position: relative;
  overflow: hidden;
  color: #B7193F;
  font-family: a-otf-ryumin-pr6n, serif;
  font-weight: 300;
  font-style: normal;
  font-size: 50px;
}


/* box */

#content div.box {
  margin: 50px auto;
  padding: 20px 40px 0;
  width: 880px;
  background: #FFF;
  position: relative;
  overflow: hidden;
}

#content div.box h2 {
  margin: 0 -40px 30px;
  padding: 0;
  font-size: 2.4rem;
  font-family: a-otf-ryumin-pr6n, serif;
  font-weight: 300;
  font-style: normal;
  line-height: 50px;
  color: #FFF;
  text-align: center;
  background: #B7193F;
}


/* box */


/* CONTENT */


/* FOOTER */

#footer {
  clear: both;
  margin: 0 -500%;
  padding: 30px 500% 0;
  border-top: 4px solid #B7193F;
  background: #FFF;
  overflow: hidden;
}

#footer ul {
  clear: both;
  display: flex;
  justify-content: center;
  margin: 0 0 30px;
  padding: 0;
  width: 960px;
  overflow: hidden;
  list-style: none;
}

#footer ul li {
  margin: 0 20px 0 0;
  padding: 0;
}

#footer ul li:last-of-type {
  margin: 0;
}

#footer ul li a {
  color: #333;
  text-decoration: none;
}

#footer ul li a:hover img {
  opacity: 0.7;
}

#footer ul li dl {
  padding: 10px;
  background: #E5F0EC;
}

#footer ul li dl dt {
  margin: 0 0 10px;
  padding: 0;
  background: #FFF;
}

#footer ul li dl dt>img {
  width: 156px;
  height: auto;
}

#footer ul li dl dd {
  margin: 0 -10px;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1.25;
  text-align: center;
}

#footer address {
  margin: 0 0 30px;
  padding: 40px 0 0;
  font-size: 1.3rem;
  font-style: normal;
  line-height: 1.25;
  width: 580px;
  float: left;
  overflow: hidden;
}

#footer address a {
  display: block;
  margin: -40px 20px 0 0;
  width: auto;
  height: auto;
  float: left;
}

#footer address a:hover {
  opacity: 0.7;
}

#footer div {
  padding-top: 33px;
  width: 268px;
  float: right;
}

#footer p {
  clear: both;
  margin: 0 -500%;
  padding: 20px 500%;
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.25;
  color: #FFF;
  text-align: center;
  width: 960px;
  background: #B7193F;
}

#footer p a {
  color: #FFF;
  text-decoration: none;
}

#footer p a:hover {
  text-decoration: underline;
}

#footer p+p {
  padding-top: 0;
  font-size: 1.2rem;
}


/* FOOTER */


/* GOTOP */

#wrap>p.goTop {
  text-align: center;
  width: 44px;
  height: 44px;
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1010;
}

#wrap>p.goTop a {
  display: block;
  padding-top: 4px;
  text-decoration: none;
  width: 44px;
  height: 40px;
  background: rgba(183, 25, 63, 0.5);
}

#wrap>p.goTop a:hover {
  background: rgba(183, 25, 63, 1.0);
}


/* GOTOP */

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  body {
    min-width: auto;
  }

  #wrap {
    width: 100%;
  }

  #header {
    order: -1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0 30px;
    background-color: white;
  }

  #header > div:first-of-type {
    order: 3;
    flex-basis: 100%;
    margin: 30px 0 25px;
    text-align: center;
  }

  #header > div:first-of-type img {
    max-width: 457px;
  }

  #header p {
    order: 1;
    display: flex;
    flex: 1;
    max-width: 300px;
    height: 40px;
    margin: 0 15px 0 0;
  }

  #header > p > a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0;
    text-align: center;
  }

  #header > p > a > img {
    translate: 0;
    width: auto;
    height: 15px;
  }

  #header > p > a:nth-child(2) > img,
  #header > p > a:nth-child(3) > img {
    translate: 0;
  }

  #header > p > a:nth-child(4) > img,
  #header > p > a:nth-child(5) > img {
    display: block;
  }

  #header > ul {
    order: 4;
    overflow-x: scroll;
    width: calc(100% + 60px);
    margin: 0 -30px;
    padding: 0;
    background-color: #B7193F;
  }

  #header > ul > li {
    font-size: 14px;
    line-height: 50px;
  }

  #header > ul > li:first-child {
    padding-left: 20px;
  }

  #header > ul > li:last-child {
    padding-right: 20px;
  }

  #header p + div {
    order: 2;
    flex-basis: 15%;
    max-width: 5rem;
    align-self: flex-end;
    margin: 0;
    margin-top: 0;
  }

  #header p + div img {
    width: 100%;
    height: auto;
  }

  #header img {
    width: 100%;
  }

  #content {
    margin: 0;
    padding: 0 30px;
    width: 100%;
  }

  #content h1 {
    margin: 0 -30px;
    padding: 30px 0;
    width: auto;
    font-size: 32px;
  }

  #content div.box {
    padding: 20px 20px 0;
    width: 100%;
  }

  #content div.box h2 {
    margin: 0 -20px 30px;
    padding: 10px;
    font-size: 20px;
    line-height: 1.3;
  }

  #footer {
    margin: 0;
    padding: 30px 30px 0;
  }

  #footer ul {
    flex-wrap: wrap;
    width: calc(100% + 10px);
    margin: -5px;
  }

  #footer ul li {
    flex-basis: 50%;
    min-width: 50%;
    margin: 0;
    padding: 5px;
  }

  #footer ul li dl {
    margin: 0;
  }

  #footer ul li dl dt > img {
    width: 100%;
  }

  #footer address {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    text-align: center;
  }

  #footer address a {
    float: none;
    margin: 0 auto 20px;
  }

  #footer address img {
    width: 50%;
    max-width: 150px;
  }

  #footer div {
    width: auto;
    margin: 0 auto 30px;
    padding: 0;
    float: none;
    text-align: center;
  }

  #footer p {
    width: calc(100% + 60px);
    margin: 0 -30px;
    padding: 20px 30px;
  }
}

@media (max-width: 325px) {
  #header > p {
    height: 30px;
  }

  #header > p > a {
    font-size: 10px;
  }
}