@charset "UTF-8";

#main div:before,
#main div:after,
section:before,
section:after,
figure:before,
figure:after,
article:before,
article:after,
ul:before,
ul:after,
ol:before,
ol:after,
dl:before,
dl:after {
  display: none;
}

#box1 .inner {
  margin-bottom: 25px;
}

#box1 .inner p {
  line-height: 1.7;
}

#box1 img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#box1 .flexBox figure {
  width: 30%;

  @media (width <=480px) {
    width: 100%;
  }
}

#main #box1 div:before,
#main #box1 div:after {
  content: none;
  display: none;
}

#box1 .planBox{
  border-collapse: collapse;
  border: 1px solid #585858;
  margin-bottom: 15px;
}

#box1 .planBox th{
  background-color: #e4f6ff;
  border: 1px solid #585858;
  padding: 8px;
  font-weight: bold;
}
#box1 .planBox td{
  border: 1px solid #585858;
  padding: 8px;
}

#box1 .planBox .long{
  text-align: center;
}

#box1 .planBox .long small{
  color: #ff1b1b;
}

#box1 .planBox .listbox{
  border-left: 1rem solid #06c;
  padding-left: 1rem;
  margin: 5px 0;
}

/* ==========================================================
	PC閲覧用 481px以上
========================================================== */
@media screen and (min-width: 481px) {
  .title h2 {
    font-size: 0.9em;
  }

  #box1 .inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
  }

  #box1 .inner p {
    padding-bottom: 10px;
  }

  #box1 .inner p {
    flex: 1 1 auto;
  }

  #box1 figure {
    flex: 0 0 240px;
  }
}

/* ==========================================================
	SP閲覧用 480px以下
========================================================== */
@media screen and (max-width: 480px) {

  #box1 .inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #box1 .inner p {
    padding-bottom: 10px;
  }

  #box1 .inner figure {
    width: 100%;
    margin-bottom: 15px;
  }
}