#oseibo *, #oseibo *:after, #oseibo *:before {
  box-sizing: border-box;
}

#oseibo {
  background-color: #F9F7F8;
  padding-bottom: 60px;
}

#oseibo img {
  height: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .oseiboContainer {
    max-width: 950px;
    margin: 0 auto;
  }
}

/* .oseiboJumbotron */
.oseiboJumbotron {
  background-image: url(../img/jumbotron-inner-bg.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 6px solid #7A4171;
  clear: both;
  height: 432px;
  padding-top: 25px;
}

/* .oseiboHead */
.oseiboHead img {
  width: 100%;
  vertical-align: bottom;
}

/* .oseiboMerit */
.oseiboMerit {
  background-image: url(../img/oseibo-bg.png);
  background-position: left top;
  background-repeat: repeat;
  padding-bottom: 40px;
  padding-top: 40px;
}

.oseiboMerit .meritHead {
  margin-bottom: 30px;
  text-align: center;
}

.oseiboMerit .meritPoint {
  margin: 0 3%;
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint {
    display: flex;
    margin: auto;
  }
}

.oseiboMerit .meritPoint li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint li {
    border-left: 1px dotted #000;
    display: block;
    flex-basis: 33.333%;
    max-width: 33.333%;
    padding-left: 25px;
    padding-right: 25px;
  }
}

.oseiboMerit .meritPoint li + li {
  margin-top: 15px;
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint li + li {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint li:last-child {
    border-right: 1px dotted #000;
  }
}

.oseiboMerit .meritPoint li div {
  align-items: center;
  background-color: #7D4474;
  border-radius: 5px;
  color: #fff;
  display: flex;
  flex-basis: 100px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  justify-content: center;
  max-width: 100px;
  text-align: center;
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint li div {
    flex-basis: auto;
    font-size: 28px;
    height: 80px;
    margin-bottom: 20px;
    max-width: 100%;
  }
}

.oseiboMerit .meritPoint li p {
  flex-basis: calc(100% - 120px);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  max-width: calc(100% - 120px);
}

@media (min-width: 768px) {
  .oseiboMerit .meritPoint li p {
    flex-basis: auto;
    font-size: 20px;
    text-align: center;
    max-width: 100%;
  }
}

.oseiboMerit .meritPoint li p span {
  color: #D90000;
}

/* .oseiboAbout */
.oseiboAbout {
  background-image: url(../img/about-bg.png);
  padding-bottom: 10px;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .oseiboAbout {
    padding-bottom: 30px;
    padding-top: 25px;
  }
}

.oseiboAbout .aboutBox {
  background-color: #fff;
  border: 4px solid #FFF;
  margin: 0 3%;
}

@media (min-width: 768px) {
  .oseiboAbout .aboutBox {
    margin: auto;
  }
}

.oseiboAbout .aboutHead {
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .oseiboAbout .aboutHead {
    padding-bottom: 0;
    position: relative;
  }
}
.oseiboAbout .aboutHead img {
  vertical-align: bottom;
}

.oseiboAbout .aboutHead p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0 3%;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .oseiboAbout .aboutHead p {
    font-size: 14px;
    left: 4.246%;
    line-height: 1.8;
    margin: auto;
    position: absolute;
    margin-top: 10.615%;
    top: 0;
  }
}

.oseiboAbout .aboutFlow {
  margin: 0 3%;
  position: relative;
}

@media (min-width: 768px) {
  .oseiboAbout .aboutFlow {
    background-image: url(../img/oseibo-bg02.png);
    background-position: left top;
    background-repeat: repeat;
    height: 270px;
    margin: auto;
  }
}

.oseiboAbout .aboutFlow .flow01 {
  left: 1.592%;
  margin-top: 2.123%;
  position: absolute;
  top: 0;
  width: 19.108%;
}

.oseiboAbout .aboutFlow .flow02 {
  left: 21.974%;
  margin-top: 2.123%;
  position: absolute;
  top: 0;
  width: 28.662%;
}

.oseiboAbout .aboutFlow .flow03 {
  bottom: 0;
  left: 1.592%;
  margin-bottom: 2.123%;
  position: absolute;
  width: 19.108%;
}

.oseiboAbout .aboutFlow .flow04 {
  bottom: 0;
  left: 21.974%;
  margin-bottom: 2.123%;
  position: absolute;
  width: 28.662%;
}

.oseiboAbout .aboutFlow .flow05 {
  left: 51.698%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24.416%;
}

.oseiboAbout .aboutFlow .flow06 {
  left: 77.176%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 21.231%;
}

.oseiboAbout .flowAlpha {
  float: left;
  width: 48%;
}

.oseiboAbout .flowBeta {
  float: right;
  width: 48%;
}

.oseiboAbout .flowGamma {
  clear: both;
  margin: 0 auto;
  padding-top: 5px;
  width: 71%;
}

.oseiboAbout .flowGamma img {
  padding-bottom: 5px;
}

.oseiboAbout .aboutFlow .start {
  margin-bottom: 20px;
}

/* .oseiboExample */
.oseiboExample {
  background-image: url(../img/oseibo-bg.png);
  background-position: left top;
  background-repeat: repeat;
  clear: both;
  padding-bottom: 30px;
  padding-top: 25px;
}

.oseiboExample .exampleHead {
  margin-bottom: 20px;
  text-align: center;
}

.oseiboExample .exampleBlock {
  background-image: url(../img/oseibo-bg02.png);
  border: 4px solid #D4C679;
  padding: 10px;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBlock {
    display: flex;
    justify-content: space-between;
  }
}

.oseiboExample .exampleBox {
  background-color: #FFF;
  padding: 5px;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox {
    padding: 10px;
    width: calc(50% - 10px);
  }
}

.oseiboExample .exampleBox + .exampleBox {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox + .exampleBox {
    margin-top: 0;
  }
}

.oseiboExample .exampleBox .boxTitle {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  padding-bottom: 15px;
  padding-top: 15px;
  text-align: center;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox .boxTitle {
    border-bottom: 1px dotted #BBBBBB;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 10px;
    padding-top: 0;
    text-align: left;
  }
}

.oseiboExample .exampleBox p {
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox p {
    font-size: 14px;
    padding-bottom: 10px;
    text-align: left;
  }
}

.oseiboExample .exampleBox p span {
  font-weight: bold;
}

.oseiboExample .exampleBlock .payment {
  background-color: #EEE;
  font-size: 12px;
  font-weight: bold;
  line-height: 3.5;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox .payment {
    align-items: center;
    display: flex;
    font-size: 20px;
    flex-wrap: wrap;
    min-height: 70px;
    line-height: 1.2;
    padding-left: 10px;
    margin: 0 auto;
    max-width: 425px;
  }
}

.oseiboExample .exampleBlock .payment span {
  background-color: #D3C57C;
  display: inline-block;
  margin-right: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 768px) {
  .oseiboExample .exampleBox .payment span {
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    width: 60px;
  }
}

/* .oseiboNinki */
.oseiboNinki {
  background-image: url(../img/oseibo-bg.png);
  background-position: left top;
  background-repeat: repeat;
  margin-top: 30px;
  padding-bottom: 30px;
  padding-top: 30px;
}

.oseiboNinki .ninkiHead {
  margin-bottom: 20px;
  text-align: center;
}

.oseiboNinki .ninkiBox {
  margin: 0 3%;
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBox {
    border: 4px solid #FFF;
    margin: auto;
  }
}

.oseiboNinki .ninkiBoxInner {
  background-position: left top;
  background-repeat: no-repeat;
  position: relative;
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner {
    background-position: right top;
  }
}

.oseiboNinki .ninkiBoxInner + .ninkiBoxInner {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner + .ninkiBoxInner {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner .title {
    left: 30px;
    position: absolute;
    top: -10px;
  }
}

.oseiboNinki .ninkiBoxInner p {
  font-size: 11px;
  line-height: 1.6;
  padding-bottom: 20px;
  padding-top: 15px;
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner p {
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: 30px;
    padding-bottom: 0;
    padding-top: 90px;
    position: relative;
    width: 500px;
    z-index: 9999;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBox #first {
    background-image: url(../img/first-bg.jpg);
    height: 356px;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBox #second {
    background-image: url(../img/second-bg.jpg);
    height: 360px;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBox #third {
    background-image: url(../img/third-bg.jpg);
    height: 360px;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBox #fourth {
    background-image: url(../img/fourth-bg.jpg);
    height: 355px;
  }
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner .linkList {
    margin-left: 30px;
    width: 480px;
  }
}

.oseiboNinki .linkList div {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .oseiboNinki .linkList div {
    font-size: 24px;
  }
}

.oseiboNinki .linkList div span {
  color: #D90000;
}

.oseiboNinki .ninkiBoxInner .linkList ul {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 300px;
}

@media (min-width: 768px) {
  .oseiboNinki .ninkiBoxInner .linkList ul {
    width: auto;
  }
}

.oseiboNinki .ninkiBoxInner .linkList li {
}

.oseiboNinki .linkList ul li a {
  align-items: center;
  background-color: #D90000;
  color: #fff;
  display: flex;
  font-weight: bold;
  height: 25px;
  justify-content: center;
  text-decoration: none;
  width: 55px;
}

@media (min-width: 768px) {
  .oseiboNinki .linkList ul li a {    font-size: 14px;
    height: 40px;
    width: 88px;
  }
}

/* .oseiboFuan */
.oseiboFuan {
  background-color: #FFF;
  padding-bottom: 10px;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .oseiboFuan {
    clear: both;
    margin-bottom: 40px;
    padding-bottom: 0;
    padding-top: 60px;
  }
}

.oseiboFuan .fuanHead {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .oseiboFuan .fuanHead {
    margin-bottom: 30px;
    text-align: center;
  }
}

.oseiboFuan .fuanBox {
  background-color: #FAFAFA;
  margin: 0 3%;
  padding-bottom: 10px;
  padding-top: 20px;
}

@media (min-width: 768px) {
  .oseiboFuan .fuanBox {
    margin: auto;
    padding-bottom: 40px;
    padding-top: 40px;
  }
}

.oseiboFuan dl {
  position: relative;
}

@media (min-width: 768px) {
  .oseiboFuan dl {
    margin: 0 auto;
    max-width: 860px;
  }
}

.oseiboFuan dt {
  background-image: url(../img/q.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 33px auto;
  color: #333;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.6;
  margin: 10px 3% 0 3%;
  min-height: 33px;
  padding-left: 45px;
}

@media (min-width: 768px) {
  .oseiboFuan dt {
    background-size: auto;
    color: #444;
    font-size: 20px;
    min-height: 59px;
    margin: auto;
    padding-bottom: 30px;
    padding-left: 80px;
  }
}

.oseiboFuan dd {
  background-image: url(../img/a.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 33px auto;
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 3% 0 3%;
  padding-left: 45px;
}

@media (min-width: 768px) {
  .oseiboFuan dd {
    background-size: auto;
    font-size: 15px;
    line-height: 1.6;
    margin: auto;
    padding-left: 80px;
  }
}

@media (min-width: 768px) {
  .oseiboFuan .oneLine {
    line-height: 59px;
  }
}

/* .oseiboKnowledge */
.oseiboKnowledge {
  padding: 0 3%;
  padding-bottom: 20px;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .oseiboKnowledge {
    background-image: url(../img/knowledge-bg.png);
    background-position: center top;
    background-repeat: repeat-y;
    clear: both;
    margin-bottom: 60px;
    margin-top: 60px;
    padding: 0;
    padding-bottom: 25px;
  }
}

@media (min-width: 768px) {
  .oseiboKnowledge .knowledgeContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .oseiboKnowledge .knowledgeBox {
    flex-basis: 46.315%;
    max-width: 46.315%;
  }
}

.oseiboKnowledge .knowledgeTitle {
  color: #D80000;
  font-size: 15px;
  margin-bottom: 15px;
  text-align: center;
}

@media (min-width: 768px) {
  .oseiboKnowledge .knowledgeTitle {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
}

.oseiboKnowledge p {
  border-bottom: 1px dotted #666;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .oseiboKnowledge p {
    border-bottom: none;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

/* .oseiboAreaSearch */
.oseiboAreaSearch {
  background-image: url(../img/oseibo-bg.png);
  background-position: left top;
  background-repeat: repeat;
  border: 4px solid #D90000;
  border-top: none;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.oseiboAreaSearch .areaSearchHead {
  background-color: #D90000;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  padding-bottom: 14px;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .oseiboAreaSearch .areaSearchHead {
    font-size: 26px;
  }
}

/* エリア検索（都道府県） */
#area section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 768px) {
  #area section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

#area section dl {
  align-self: baseline;
  background-color: #fff;
  flex-basis: calc(100% / 2 - 1%);
  margin-bottom: 1.5%;
  max-width: calc(100% / 2 - 1%);
  padding-left: 5px;
  padding-right: 5px;
}

@media (min-width: 768px) {
  #area section dl {
    align-self: auto;
    flex-basis: calc(100% / 3 - 1%);
    max-width: calc(100% / 3 - 1%);
    padding: 10px;
  }
}

#area section dl:last-child {
  background-color: #D90000;
  flex-basis: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  #area section dl:last-child {
    flex-basis: calc((100% / 3) * 2 - .5%);
    max-width: calc((100% / 3) * 2 - .5%);
  }
}

#area section dl dt {
  color: #D90000;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  #area section dl dt {
    font-size: 18px;
  }
}

#area section dl:last-child dt {
  color: #fff;
}

#area section dl dd {
  display: none;
  font-weight: 400;
}

@media (min-width: 768px) {
  #area section dl dd {
    display: block !important;
  }
}

#area section dl dd ul {
  display: flex;
  flex-wrap: wrap;
}

#area section dl dd ul li {
  flex-basis: calc(100% / 2 - 2%);
  font-size: 12px;
  margin-bottom: 1.5%;
  margin-left: 1%;
  margin-right: 1%;
  max-width: calc(100% / 2 - 2%);
}

@media (min-width: 768px) {
  #area section dl dd ul li {
    flex-basis: calc(100% / 3 - 2%);
    font-size: 14px;
    max-width: calc(100% / 3 - 2%);
  }
}

#area section dl dd ul li a {
  align-items: center;
  background-color: #D90000;
  border-radius: 5px;
  color: #fff;
  display: flex;
  height: 38px;
  justify-content: center;
}

#area section dl:last-child dd ul li {
  flex-basis: calc(100% / 4 - 1%);
  max-width: calc(100% / 4 - 1%);
  margin-left: .5%;
  margin-right: .5%;
}

#area section dl:last-child dd ul li a {
  background-color: #fff;
  color: #D90000;
}

/* エリア検索（地方） */
#region section {
  padding: 10px;
}

@media (min-width: 768px) {
  #region section {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    padding: 20px;
  }
}

#region section dl {
  background-color: #D90000;
  border-radius: 5px;
}

#region section dl + dl{
  margin-top: 5px;
}

@media (min-width: 768px) {
  #region section dl {
    border-radius: 5px;
    flex-basis: calc(100% / 7 - 1%);
    max-width: calc(100% / 7 - 1%);
  }
}

@media (min-width: 768px) {
  #region section dl + dl{
    margin-top: 0;
  }
}

#region section dl dt {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 400;
  height: 50px;
  justify-content: center;
}

#region section dl dd {
  display: none;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

#region section dl dd ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#region section dl dd ul li {
  flex-basis: calc(50% - 1%);
  font-weight: 400;
  margin-bottom: 1.5%;
  max-width: calc(50% - 1%);
}

#region section dl dd ul li a {
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  color: #D90000;
  display: flex;
  height: 40px;
  justify-content: center;
}