/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
  color: #000;
  background: #FFF;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  font-style: normal;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  font-size: 100%;
}

/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
main,
article,
section {
  display: block;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.cf:after {
  clear: both;
  content: "";
  display: block;
}

/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

/* ------------------------------
 common - width: all
------------------------------ */
html,
body {
  min-width: 1280px;
}

.en01 {
  font-family: "din-2014", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.ajtxt {
  text-align: justify;
  text-justify: inter-ideograph;
}

a:hover {
  opacity: 0.6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

* {
  letter-spacing: 0.05em;
}

header .wrapper {
  background-color: #faed00;
  height: 80px;
  padding-top: 12px;
  position: relative;
  z-index: 100000000;
}
header .wrapper .logobox {
  text-align: center;
}
header .wrapper .logobox .logo {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: #e74881;
}
header .wrapper .logobox .logo h1 {
  font-size: 40px;
  font-weight: 900;
}
header .wrapper .logobox .logo h1 span {
  font-size: 61px;
  display: inline-block;
  vertical-align: top;
  color: #e74881;
  line-height: 100%;
  margin-top: -3px;
}
header .ham {
  width: auto;
  height: 32px;
  display: block;
  position: fixed;
  top: 24px;
  right: 20px;
  cursor: pointer;
  z-index: 100000000000;
}
header .spmenu {
  width: 400px;
  position: fixed;
  background-color: #faed00;
  padding: 100px 30px 40px;
  top: 0;
  right: 0;
  z-index: 10000000;
  display: none;
}
header .spmenu .spwrapper ul li {
  border-bottom: 1px solid #fff;
}
header .spmenu .spwrapper ul li a {
  display: block;
  text-decoration: none;
  color: #e74881;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 0;
}
header .spmenu .close {
  width: 120px;
  height: 30px;
  margin: 20px auto 0;
  color: #000;
  text-align: center;
  line-height: 30px;
  font-size: 14px;
}
header .spmenu .close span {
  color: #e74881;
  font-size: 20px;
  cursor: pointer;
}

main section {
  position: relative;
}
main section.theme_section {
  padding: 60px 0 80px;
}
main section.theme_section .wrapper .t01 {
  text-align: center;
  color: #e74881;
  font-size: 49px;
  font-weight: 900;
}
main section.theme_section .wrapper .t01 span {
  font-size: 80px;
  display: inline-block;
  vertical-align: top;
  letter-spacing: -5px;
  margin: -19px 8px 0 0;
}
main section.theme_section .wrapper .theme_list {
  width: 1200px;
  margin: 0 auto;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}
main section.theme_section .wrapper .theme_list li {
  width: calc((100% - 45px) / 4);
}
main section.theme_section .wrapper .theme_list li.theme01 a {
  background-color: #d06d8c;
}
main section.theme_section .wrapper .theme_list li.theme02 a {
  background-color: #c93a40;
}
main section.theme_section .wrapper .theme_list li.theme03 a {
  background-color: #de9610;
}
main section.theme_section .wrapper .theme_list li.theme04 a {
  color: #000;
  background-color: #f2cf01;
  background-image: url(../images/icon_arrow0102.svg);
}
main section.theme_section .wrapper .theme_list li.theme05 a {
  background-color: #65ace4;
}
main section.theme_section .wrapper .theme_list li.theme06 a {
  background-color: #56a764;
}
main section.theme_section .wrapper .theme_list li.theme07 a {
  background-color: #a0c238;
}
main section.theme_section .wrapper .theme_list li.theme08 a {
  background-color: #9460a0;
}
main section.theme_section .wrapper .theme_list li.theme09 a {
  background-color: #906010;
}
main section.theme_section .wrapper .theme_list li.theme10 a {
  background-color: #0074bf;
}
main section.theme_section .wrapper .theme_list li a {
  display: block;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  line-height: 100%;
  color: #fff;
  border-radius: 6px;
  padding: 22px 0 22px 25px;
  background-image: url(../images/icon_arrow0101.svg);
  background-size: auto 17px;
  background-position: center right 20px;
  background-repeat: no-repeat;
}
footer {
  padding: 50px 0 0;
  position: relative;
  z-index: 2;
}
footer .wrapper .pagetop {
  width: 46px;
  display: block;
  position: absolute;
  top: -23px;
  right: 0;
  left: 0;
  margin: 0 auto;
}
footer .wrapper .pagetop img {
  width: 100%;
  display: block;
}
footer .wrapper .logo {
  width: 247px;
  display: block;
  margin: 0 auto;
}
footer .wrapper .logo img {
  width: 100%;
  display: block;
}
footer .wrapper .t01 {
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
}
footer .wrapper .snslist {
  text-align: center;
  margin-top: 5px;
}
footer .wrapper .snslist li {
  width: 38px;
  display: inline-block;
  vertical-align: top;
  margin: 0 12px;
}
footer .wrapper .snslist li a {
  display: block;
}
footer .wrapper .snslist li a img {
  width: 100%;
  display: block;
}
footer .wrapper .t02 {
  text-align: center;
  font-size: 14px;
  line-height: 140%;
  margin-top: 35px;
}
footer .wrapper .t02 span {
  color: #e73828;
}
footer .wrapper .our_ehime {
  width: 44px;
  display: block;
  margin: 10px auto 0;
}
footer .wrapper .our_ehime img {
  width: 100%;
  display: block;
}
footer .wrapper .bottombox {
  border-top: 1px solid #ccc;
  padding: 40px 0;
  margin-top: 30px;
}
footer .wrapper .bottombox dl {
  width: 1080px;
  padding-left: 40px;
  margin: 0 auto;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
footer .wrapper .bottombox dl dt {
  width: 234px;
}
footer .wrapper .bottombox dl dt .logo_footer {
  width: 100%;
  display: block;
}
footer .wrapper .bottombox dl dt .logo_footer img {
  width: 100%;
  display: block;
}
footer .wrapper .bottombox dl dd {
  width: 806px;
  font-size: 12px;
  line-height: 170%;
  padding-left: 30px;
}
footer .wrapper .bottombox dl dd a {
  text-decoration: none;
  color: #000;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html,
  body {
    min-width: 375px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header .wrapper {
    background-color: #faed00;
    padding: 5px 0;
    height: auto;
  }
  header .wrapper .logobox {
    text-align: center;
  }
  header .wrapper .logobox .logo {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
    color: #e74881;
  }
  header .wrapper .logobox .logo h1 {
    font-size: 20px;
    font-weight: 900;
  }
  header .wrapper .logobox .logo h1 span {
    font-size: 36px;
    display: inline-block;
    vertical-align: top;
    color: #e74881;
    line-height: 100%;
    margin-top: -5px;
  }
  header .ham {
    width: 30px;
    height: auto;
    display: block;
    position: fixed;
    top: 24px;
    right: 15px;
    cursor: pointer;
  }
  header .spmenu {
    width: 100%;
    min-width: 375px;
    height: 100%;
    position: fixed;
    background-color: #faed00;
    padding: 20px 20px;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    display: none;
  }
  header .spmenu .spwrapper ul li {
    border-bottom: 1px solid #fff;
  }
  header .spmenu .spwrapper ul li a {
    display: block;
    text-decoration: none;
    color: #e74881;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 0;
  }
  header .spmenu .close {
    width: 120px;
    height: 30px;
    margin: 20px auto 0;
    color: #000;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
  }
  header .spmenu .close span {
    color: #e74881;
    font-size: 14px;
    cursor: pointer;
  }
  main section {
    position: relative;
  }
  main section.theme_section {
    padding: 50px 20px;
  }
  main section.theme_section .wrapper .t01 {
    text-align: center;
    color: #e74881;
    font-size: 24px;
    font-weight: 900;
    line-height: 150%;
  }
  main section.theme_section .wrapper .t01 span {
    font-size: 40px;
    display: inline-block;
    vertical-align: top;
    letter-spacing: -2px;
    margin: 0px 4px 0 0;
  }
  main section.theme_section .wrapper .theme_list {
    width: 100%;
    margin: 0 auto;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  main section.theme_section .wrapper .theme_list li {
    width: calc(50% - 5px);
  }
  main section.theme_section .wrapper .theme_list li.theme01 a {
    background-color: #d06d8c;
  }
  main section.theme_section .wrapper .theme_list li.theme02 a {
    background-color: #c93a40;
  }
  main section.theme_section .wrapper .theme_list li.theme03 a {
    background-color: #de9610;
  }
  main section.theme_section .wrapper .theme_list li.theme04 a {
    color: #000;
    background-color: #f2cf01;
    background-image: url(../images/icon_arrow0102.svg);
  }
  main section.theme_section .wrapper .theme_list li.theme05 a {
    background-color: #65ace4;
  }
  main section.theme_section .wrapper .theme_list li.theme06 a {
    background-color: #56a764;
  }
  main section.theme_section .wrapper .theme_list li.theme07 a {
    background-color: #a0c238;
  }
  main section.theme_section .wrapper .theme_list li.theme08 a {
    background-color: #9460a0;
  }
  main section.theme_section .wrapper .theme_list li.theme09 a {
    background-color: #906010;
  }
  main section.theme_section .wrapper .theme_list li.theme10 a {
    background-color: #0074bf;
  }
  main section.theme_section .wrapper .theme_list li a {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 130%;
    color: #fff;
    border-radius: 4px;
    padding-left: 10px;
    background-image: url(../images/icon_arrow0101.svg);
    background-size: auto 12px;
    background-position: center right 10px;
    background-repeat: no-repeat;
  }
  footer {
    width: 100%;
    padding: 40px 0 0;
    position: relative;
    z-index: 2;
  }
  footer .wrapper .pagetop {
    width: 34px;
    display: block;
    position: absolute;
    top: -17px;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
  footer .wrapper .pagetop img {
    width: 100%;
    display: block;
  }
  footer .wrapper .logo {
    width: 200px;
    display: block;
    margin: 0 auto;
  }
  footer .wrapper .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .t01 {
    text-align: center;
    font-size: 12px;
    margin-top: 13px;
  }
  footer .wrapper .snslist {
    text-align: center;
    margin-top: 5px;
  }
  footer .wrapper .snslist li {
    width: 30px;
    display: inline-block;
    vertical-align: top;
    margin: 0 5px;
  }
  footer .wrapper .snslist li a {
    display: block;
  }
  footer .wrapper .snslist li a img {
    width: 100%;
    display: block;
  }
  footer .wrapper .t02 {
    text-align: center;
    font-size: 12px;
    line-height: 140%;
    margin-top: 25px;
  }
  footer .wrapper .t02 span {
    color: #e73828;
  }
  footer .wrapper .our_ehime {
    width: 44px;
    display: block;
    margin: 10px auto 0;
  }
  footer .wrapper .our_ehime img {
    width: 100%;
    display: block;
  }
  footer .wrapper .bottombox {
    border-top: 1px solid #ccc;
    padding: 30px 20px;
    margin-top: 20px;
  }
  footer .wrapper .bottombox dl {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    display: block;
  }
  footer .wrapper .bottombox dl dt {
    width: 160px;
    margin: 0 auto;
  }
  footer .wrapper .bottombox dl dt .logo_footer {
    width: 100%;
    display: block;
  }
  footer .wrapper .bottombox dl dt .logo_footer img {
    width: 100%;
    display: block;
  }
  footer .wrapper .bottombox dl dd {
    width: 100%;
    font-size: 12px;
    line-height: 170%;
    padding-left: 0px;
    margin-top: 20px;
  }
  footer .wrapper .bottombox dl dd a {
    text-decoration: none;
    color: #000;
  }
}