body {
  margin: 0;
  font-size: 17px;
  font-family: Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 2;
}

.header_img {
  display: block;
  background: url(../img/yobirin-kun_header_small.jpeg) center/cover;
  width: 100%;
  height: 300px;
}

.header-box {
  position: relative;
}

.upper-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 150px;
  height: 30px;
}

.header_cta {
  position: absolute;
  top: 60%;
  right: 0;
  left: 0;
  margin: auto;
}

/* CTA */
.cta {
  line-height: 56px;
  width: 240px;
  height: 60px;
  padding: 4px;
  border: solid gray 1px;
  box-sizing: border-box;
  margin: 0 auto;
  border-radius: 10px;
  background: #e63e32;
  text-align: center;
  color: white;
  border-bottom: 4px solid gray;
  border-right: 3px solid gray;
}

.cta:hover,
.img_bell:hover {
  opacity: 0.8;
  cursor: pointer;
}

.cta:hover {
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
}

.cta rt {
  font-size: 10px;
}
/* CTA終わり */

.img_text {
  display: block;
  margin: 40px auto;
  width: 80%;
  max-width: 900px;
}

.img_pic {
  display: block;
  margin: 40px auto;
  width: 280px;
  height: 230px;
}

body > h1 {
  text-align: center;
  margin: 40px 40px;
  line-height: 1.5;
}

rt {
  font-size: 16px;
}

body > p {
  text-align: center;
}

h2 {
  text-align: center;
}

.container1 h2 {
  margin-top: 0;
}

.img_bell {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  cursor: pointer;
}

.simple {
  text-align: center;
  padding: 64px 0;
}

.media_newspaper > p,
.media_TV > p {
  text-align: center;
  color: #444;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container1 img {
  margin: auto;
  display: block;
  height: 250px;
  opacity: 0.9;
}

.benefits section {
  padding-bottom: 64px;
  margin: 0 40px;
}

.marker_yellow {
  background: linear-gradient(transparent 60%, #ffff66 60%);
}

.story {
  margin: 0 auto;
}

.campaign {
  margin: 0 40px;
  padding: 20px;
  border: solid #444;
  background-color: yellow;
  opacity: 0.9;
  color: #444;
}

/* 料金表開始地点 */
.cost {
  margin-bottom: 40px;
}

.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  margin: 0 auto;
}

table {
  width: 320px;
  border: 1px solid #ddd;
  margin: 0 auto;
  box-sizing: border-box;
}

.plan-table {
  width: 450px;
}

.plus {
  font-size: 32px;
  color: gray;
  text-align: center;
  vertical-align: center;
  margin: 40px;
}

th,
td {
  padding: 15px;
  text-align: center;
  vertical-align: top;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

tr:nth-child(even) > td,
tr:nth-child(even) > th {
  background-color: #efefef;
}

.plan-price {
  font-size: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px 0;
}

.plan-price,
th {
  color: #fff;
  background: linear-gradient(-90deg, #009adb, #8a8fff);
}

.plan-price span {
  font-size: 1rem;
}
/* 料金表終了地点 */

/* 新聞記事画像 */
.img_media {
  display: block;
  width: 320px;
  margin: 0 auto;
  margin-bottom: 20px;
}
/* 新聞記事画像終了地点 */

ul {
  padding: 0;
  margin: 0 2px;
}
li {
  list-style-type: none;
}
dd {
  margin-left: 0;
}

.flow > li {
  position: relative;
}
.flow > li:not(:last-child) {
  margin-bottom: 40px;
}

.flow > li dl {
  box-sizing: border-box;
  width: 100%;
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 2px solid rgb(107,144,219);
  border-radius: 10px;
  position: relative;
}
.flow > li:not(:last-child) dl::before,
.flow > li:not(:last-child) dl::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow > li:not(:last-child) dl::before {
  border-width: 22px;
  border-top-color: rgb(107,144,219);
}
.flow > li:not(:last-child) dl::after {
  border-width: 20px;
  border-top-color: #fff;
}
.flow > li dl dt {
  font-size: 20px;
  font-weight: 600;
  color: rgb(107,144,219);
  -ms-flex-preferred-size: 20%;
  flex-basis: 45%;
  margin-right: 2vw;
  text-align: center;
}
.flow > li dl dt .icon {
  font-size: 12px;
  color: #fff;
  background: rgb(107,144,219);
  background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
  background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
  background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
  padding: 5px 10px;
  margin-bottom: 10px;
  display: block;
  min-width: 120px;
  border-radius: 20px;
  position: relative;
  z-index: 100;
}

@media (min-width: 768px) {
  .flow > li dl dt .icon {
  min-width: 288px;
  }
}

/* アコーディオンQ&A開始地点 */
summary {
  display: block;
  list-style: none;
  position: relative;
  margin-bottom: 10px;
  padding: 20px 70px 20px 30px;
  cursor: pointer;
  color: whitesmoke;
  background-color: rgba(96, 91, 91, 0.995);
}

summary::marker {
  display: none;
}

summary:hover,
details[open] summary {
  background-color: rgba(96, 91, 91, 0.632);
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  transition: transform 0.5s;
  font-size: 30px;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.answer {
  padding: 20px 30px;
}

details[open] .answer {
  animation: fadein 0.5s ease;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* アコーディオンQ&A終了地点 */

.story,
.last-push {
  text-align: center;
}

li {
  list-style: none;
}

.business_hours {
  font-size: 14px;
}

footer {
  padding: 32px 0;
  background: #323135;
  color: #98969c;
  font-size: 14px;
  text-align: center;
}

@media (min-width: 768px) {
  .header_img {
    height: 480px;
    background: url(../img/yobirin-kun_header.jpg) center/cover;
  }

  .header_cta {
    bottom: 400px;
    left: 0;
    right: 0;
  }

  h1 {
    font-size: 60px;
  }

  .simple > h1 {
    font-size: 48px;
  }

  .container1 {
    width: 800px;
    margin: 0 auto;
  }

  .benefits section {
    display: flex;
    justify-content: space-between;
  }

  .benefits section:nth-child(even) {
    flex-direction: row-reverse;
  }

  .benefits .pic {
    width: 50%;
  }

  .benefits .info {
    width: 70%;
  }

  .container2 {
    flex-direction: row;
    justify-content: space-between;
    width: 880px;
    margin: 0 auto;
  }

  table {
    width: 100%;
  }

  .campaign {
    text-align: center;
  }

  .img_media {
    width: 450px;
  }
}