/*===== layout / common parts =====*/

.section-inner {
  position: relative;
  margin: 0 auto;
}
.font-min {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/*===== SP =====*/

body {
  font-size: 14px;
}
.display-pc {
  display: none;
}
.display-sp {
  display: block;
}

/* header */
header {
  width: 100%;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 2.3% 0;
}
header .section-inner {
  padding: 0 1.3%;
}
header .logo img {
  width: 120px;
  display: block;
  padding: 2% 2.6%;
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header > div ul {
  display: flex;
  justify-content: space-between;
  position: relative;
}
header > div ul li {
  position: relative;
}
header > div ul li:not(:last-child) {
  margin: 0 1.3% 0 3.4%;
}
header > div ul li:first-child {
  display: none;
}
header > div ul li a:hover img {
  opacity: .7;
}
header > div ul li .number {
  color: #14ae67;
  font-size: 5vw;
  font-weight: bold;
  position: absolute;
  right: 10px;
  top: .8vw;
}
header > div ul li.btn-shiryou .num {
  background: #f00;
  border-radius: 50%;
  color: #fff;
  font-size: 3.75vw;
  font-weight: bold;
  height: 4.75vw;
  line-height: 5vw;
  position: absolute;
  right: -1vw;
  text-align: center;
  top: -2vw;
  width: 4.75vw;
}

/* contents */
#main {
  background: url(/img/lgbt/pattern.png) repeat 0 0/19px;
}
.mv {
  padding: 17px 10px 0;
}
.title {
  background: url(/img/lgbt/bg_rainbow.png) no-repeat center/contain;
  padding: 46px 0 44px;
}
.title h1 {
  max-width: 240px;
  margin: 0 auto;
}
.mv > p {
  margin: 0 10px;
}
.button {
  padding: 25px 0 40px;
}
.button a {
  display: block;
  width: 200px;
  background-color: #fff;
  border: 1px solid #aaa;
  color: #ec4a9e;
  font-weight: bold;
  border-radius: 24px;
  line-height: 46px;
  text-align: center;
  margin: 0 auto;
  padding-right: 20px;
  position: relative;
}
.button a::after {
  content: "";
  display: block;
  position: absolute;
  right: 40px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -5px 0 0 0;
  border-top: solid 2px #ec4a9e;
  border-right: solid 2px #ec4a9e;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
.section {
  padding: 0 20px;
}
.section h2 {
  font-size: 16px;
  border-bottom: 3px solid;
  border-image: -webkit-linear-gradient(right, #0187cd, #922e8e, #ec4a9e, #e83631, #ff8401, #fdc400, #8dc11f, #38a92d, #1dd6ff);
  border-image: -ms-linear-gradient(right ,#0187cd, #922e8e, #ec4a9e, #e83631, #ff8401, #fdc400, #8dc11f, #38a92d, #1dd6ff);
  border-image: linear-gradient(to right, #1dd6ff, #38a92d, #8dc11f, #fdc400, #ff8401, #e83631, #ec4a9e, #922e8e, #0187cd);
  border-image-slice: 1;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.section-body {
  margin-bottom: 40px;
}
.section-body figure {
  margin-bottom: 24px;
  text-align: center;
}
.section-body p:not(:last-child){
  margin-bottom: 30px;
}
.section > ul > li:not(:last-child) {
  margin-bottom: 25px;
}
.card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 16px 10px;
  text-align: center;
  position: relative;
}
.card h3 {
  text-align: left;
}
.card h3 span {
  display: block;
}
.card h3 span:last-child {
  display: inline-block;
}
.card h3 span:first-of-type {
  font-weight: normal;
  font-size: 13px;
  margin-bottom: 8px;
}
.card h3 span:last-of-type {
  font-size: 18px;
  color: #028eed;
  border-bottom: 1px solid;
  padding-bottom: 3px;
}
.card figure {
  width: 100%;
  height: 236px;
  overflow: hidden;
  position: relative;
  margin: 16px auto 12px;
}
.card figure img {
  position: absolute;
  max-width: inherit;
  width: auto;
  height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.card > div {
  font-size: 16px;
  text-align: left;
}
.card > div > p {
  font-weight: bold;
  margin-bottom: 5px;
}
.card > div > ul {
  line-height: 1.8;
  margin-bottom: 18px;
}
.card > p {
  color: #028eed;
  font-weight: bold;
  border-bottom: 1px solid;
  font-size: 16px;
  display: inline-block;
}
.card-link {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -99999px;
    z-index: 999999;
}
/* footer */
footer {
  background: #eee;
}
footer * {
  color: #000;
}
footer .inner {
  padding: 12.5% 8%;
}
footer .inner > dl:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8%;
}
footer .inner > dl:first-of-type dt img {
  display: block;
  width: 64px;
  height: auto;
  margin-bottom: 20%;
}
footer .inner > dl:first-of-type dd {
  font-size: 4.25vw;
  line-height: 1.6;
  letter-spacing: 1px;
}
footer .inner > dl:first-of-type dd span {
  font-weight: bold;
}
footer .inner > dl:last-of-type dt {
  font-size: 5vw;
  font-weight: 500;
  margin-bottom: 6vw;
  text-align: center;
}
footer .inner > dl:last-of-type dd ul li {
  font-size: 3.75vw;
  line-height: 1.5;
  margin-bottom: 3vw;
  margin-left: 1em;
  text-indent: -1em;
}
footer .inner > dl:last-of-type dd ul li:last-child {
  margin-bottom: 0;
}
#footer-menu {
  background: #61a76c;
  padding: 0;
}
#footer-menu ul {
  text-align: left;
}
#footer-menu ul li {
  display: block;
}
#footer-menu ul li:last-child {
  border-right: none;
}
#footer-menu ul li a {
  display: block;
  font-size: 4.25vw;
  padding: 4% 3.125%;
  position: relative;
  border-bottom: 1px solid #81b989;
  color: #fff !important;
}
#footer-menu ul li a::after {
    display: block;
    position: absolute;
    content: "";
    top: 50%;
    right: 4.6875%;
    width: 1.6vw;
    height: 1.6vw;
    margin: -.8vw 0 0 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#footer-menu p {
  text-align: center;
  font-size: 3.5vw;
  line-height: 1.4;
  padding: 8% 3.125%;
}
#footer-menu p small {
  color: #fff;
}

/*===== Mobile Small =====*/

@media screen and (max-width: 359px) {

  .card figure {
    height: 193px;
  }
}

/*===== PC =====*/

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

  .section-inner {
    max-width: 980px;
  }
  body {
    font-size: 16px;
  }
  .display-pc {
    display: block!important;
  }
  .display-sp {
    display: none !important;
  }

  /* header */

  header {
    padding: 10px 0;
  }
  .section-inner {
    padding: 0 5%;
  }
  header .logo img {
    width: 147px;
    padding: 0;
  }
  header > div ul li:not(:last-child) {
    margin: 0 10px 0 0;
  }
  header > div ul li:first-child {
    display: block;
  }
  header > div ul li .number {
    font-size: 20px;
    top: 5px;
  }
  header > div ul li.btn-shiryou .num {
    border-radius: 26px;
    font-size: 18px;
    height: 26px;
    line-height: 28px;
    right: -10px;
    top: -10px;
    width: 26px;
  }

  /* contents */
  #main {
    padding-top: 20px;
  }
  .mv {
    max-width: 1400px;
    margin: 0 auto;
    background: url(/img/lgbt/bg_rainbow.png) no-repeat top center/contain;
    padding: 0;
  }
  .title {
    padding: 190px 0 50px;
    background: transparent;
  }
  .title h1 {
    max-width: 720px;
    width: 80%;
  }
  .mv > p {
    max-width: 1000px;
    margin: 0 auto 36px;
    font-size: 21px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
    line-height: 1.8;
  }
  .button {
    padding-bottom: 80px;
  }
  .button a {
    width: 320px;
    line-height: 58px;
    font-size: 24px;
    border: 2px solid #aaa;
    border-radius: 30px;
  }
  .button a::after {
    width: 12px;
    height: 12px;
    border-top: solid 3px #ec4a9e;
    border-right: solid 3px #ec4a9e;
    top: 45%;
  }
  .section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  .section h2 {
    font-size: 28px;
    padding-bottom: 24px;
    margin-bottom: 30px;
    border-bottom: 6px solid;
  }
  .section-body {
    margin-bottom: 72px;
  }
  #main .section:first-of-type .section-body{
    display: flex;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .section-body > div {
    
    width : -webkit-calc(100% - 261px) ;
    width: calc(100% - 261px);
  }
  .section-body figure {
    margin: 0;
    width: 261px;
  }
  .section-body p {
    line-height: 1.8;
  }
  .section-body p:not(:last-child) {
    margin-bottom: 28px;
  }
  .section > ul {
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .section > ul > li {
    max-width: 485px;
    width : -webkit-calc(50% - 15px) ;
    width: calc(50% - 15px);
  }
  .section > ul > li:not(:last-child) {
    margin-bottom: 0;
  }
  .section > ul > li:first-child {
    margin-right: 30px;
  }
  .card {
    padding: 24px;
  }
  .card h3 span:first-child {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .card h3 span:last-child {
    font-size: 24px;
  }
  .card figure {
    width: 437px;
    height: 329px;
    margin: 20px 0 16px;
  }
  .card > div > p {
    margin-bottom: 8px;
  }
  .card > div > ul {
    margin-bottom: 20px;
    height: 250px;
  }

  /* footer */
  footer .inner {
    padding: 40px 0 50px;
  }
  footer .inner > dl:first-of-type {
    display: flex;
    flex-direction: inherit;
    margin-bottom: 25px;
  }
  footer .inner > dl:first-of-type dt img {
    width: 40px;
    margin: 0 10px 0 0;
  }
  footer .inner > dl:first-of-type dd {
    font-size: 16px;
    letter-spacing: inherit;
  }
  footer .inner > dl:last-of-type dt {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
  }
  footer .inner > dl:last-of-type dd ul li {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  #footer-menu {
    background: url(../img/bg-green.jpg);
    padding: 30px 10px;
  }
  #footer-menu ul {
    text-align: center;
    margin-bottom: 40px;
  }
  #footer-menu ul li {
    border-right: 1px solid #fff;
    display: inline-block;
  }
  #footer-menu ul li a {
    font-size: 13px;
    padding: 0 10px;
    color: #fff !important;
    border: none;
  }
  #footer-menu ul li a::after {
    content: none;
  }
  #footer-menu p {
    text-align: center;
    font-size: 12px;
    padding: 0;
  }
}

@media screen and (max-width: 1040px) and (min-width: 768px) {

  .section-inner {
      margin: 0 20px;
  }
  .title {
    padding: 50px 0 30px;
  }
  .mv > p {
    padding: 0 20px;
    font-size: 18px;
  }
  .section {
    padding: 0 20px;
  }
  .card h3 span:last-child {
    font-size: 20px;
  }
  .card figure {
    width: auto;
    height: 260px;
  }
  .card > div > ul {
    height: auto;
  }
}
