#contents {
  background: url(../images/bg.png) bottom center /contain no-repeat;
}

.contents-wrap{
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: medium;
  line-height: 2;
}

.toDetail{
  text-shadow: 1.5px 1.5px 0 #fff, -1.5px -1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, 0px 1.5px 0 #fff, 0 -1.5px 0 #fff, -1.5px 0 0 #fff, 1.5px 0 0 #fff;
}

.main{
  max-width: 840px;
  margin: 0 auto;
}

@media (max-width: 767px){
#contents {
  padding: 0;
  background-size: auto;
}
.akafun-title{
  margin: 0 calc(50% - 50vw);
}
}

.series{
  text-align: center;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.5vw, 4rem);
}
.series-num b, .series-chief {
  font-size: 120%;
}
.series-area {
  font-size: 76%;
}
.series-chief small{
  color: inherit;
  margin-left: 10px;
}
@media (min-width: 768px){
  .series{
    margin: -14.8% auto 3.8%;
  }
  .aboutarea{
      margin: 0 9%;
  }
}
@media (min-width: 461px){
  .series .hidden-sp{
    display: none !important;
  }
}
@media (max-width: 767px){
  .series{
    border: solid 3px #aecab1;
    border-radius: 12px;
    padding: 6px 2px;
    margin: 1.4em 0;
    line-height: 1.4;
  }
}

.aboutarea{
  display: flex;
  background: #292D78;
  padding: 20px 40px;
  color: #fff;
  position: relative;
  line-height: 1.5;
  font-family: var(--font-rounded);
  font-weight: 700;
}
.aboutarea figure img{
  width: 100%;
  border: 1px solid #fff;
}
.aboutarea figcaption{
  margin-top: 6px;
  font-size: 14px;
}
.aboutarea-head{
  display: block;
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.aboutarea-detail dt{
  float: left;
  line-height: 2;
}
.aboutarea-detail dd{
  line-height: 2;
  margin-left: 1em;
}
.aboutarea-detail dd:not(:last-child){
  margin-bottom: 4px;
}
@media (min-width: 768px){
  .aboutarea{
    margin: 0 9%;
    border-radius: 30px;
  }
  .aboutarea-detail{
    margin-left: 20px;
  }
  .aboutarea-detail{
    width: 86%;
}
}
@media (max-width: 767px){
.aboutarea{
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px 0;
    margin: 0 calc(50% - 50vw);
}
.aboutarea-head {
    margin-top: 1em;
}
}

.intro-box{
  background: #FFF9BE;
  border-radius: 30px;
  padding: 20px 40px;
  font-family: var(--font-rounded);
  margin: 2em 9% 1em;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767px){
.intro-box{
    padding: 20px;
    border-radius: 0;
    margin: 1em calc(50% - 50vw) 1em;
}
}

.main section{
  margin-top: max(3em, min(5vw, 4em));
}
.main section::after{
  content: '';
  clear: both;
}

.subhead{
  font-family: var(--font-rounded);
  color: #292D78;
  font-size: clamp(20px, 2.5vw, 24px);
  position: relative;
  font-weight: 700;
  margin-left: 17px;
  margin-bottom: 1em;
  line-height: 1.5;
}
.subhead::before{
  content: '';
  width: 44px;
  height: 44px;
  left: -18px;
  top: -3px;
  background: #BCE2EE;
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
}

.akafun-balloon, .akafun-name, .chief-name{
  font-family: var(--font-rounded);
}
.akafun-name, .chief-name{
  font-weight: 700;
  color: #D9282F;
  margin-right: 1em;
  margin-left: -1em;
}
.akafun-balloon, .chief-balloon {
  text-indent: 1em;
}
.chief-name{
  color: #292D78;
}
.chief-balloon, .notes{
  font-family: serif;
}

.red-cr, .annotation{
  color: #DC393F;
  font-weight: 700;
}
.notes{
  margin-left: 1.2em;
  font-size: 14px;
  margin-top: 2em;
}
.annotation{
  margin-left: -1.2em;
}

.close-box{
  margin-top: 3em;
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.5;
  font-weight: 700;
  background: #F6D2DC;
  border-radius: 12px;
  border: #C4242B solid 2px;
  padding: 12px 20px 12px 150px;
  box-shadow: 8px 8px #c4242b;
  position: relative;
}
.close-box::before{
  content: '';
  background: url(../images/sime_title.png) no-repeat;
  background-size: 140px;
  position: absolute;
  left: -6px;
  top: -22px;
  width: 140px;
  height: 94px;
}
@media (max-width: 640px){
.close-box{
    padding: 24px 14px 12px 14px;
    margin-top: 4em;
}
.close-box::before{
    background-size: 102px;
    top: -44px;
    width: 102px;
    height: 70px;
}
}

.column{
  margin-top: 5em;
  background: #FFFCE5;
  border: 3px solid #E46E33;
  border-radius: 20px;
  padding: 110px 20px 20px;
  position: relative;
}
.column::after{
  content: '';
  background: url(../images/column_i.png) no-repeat;
  background-size: 90px;
  position: absolute;
  right: 24px;
  top: -32px;
  width: 90px;
  height: 180px;
  z-index: 1;
}
.column-title1{
  position: absolute;
  left: 20px;
  top: 40px;
  width: 70px;
  max-width: 12%;
  height: auto;
}
.column-title2{
  position: absolute;
  left: 106px;
  top: 28px;
  width: 386px;
  max-width: calc(62% - 20px);
  height: auto;
  z-index: 2;
}
.column-head{
  font-weight: 700;
  font-size: 22px;
  display: block;
  line-height: 1.4;
  margin-bottom: 14px;
}
.column p{
  text-indent: 1em;
}
.column-list{
  margin: 20px 0;
}

@media (max-width: 600px){
.column {
    padding: 130px 16px 20px;
    margin-top: 3.5em;
}
.column::after{
    background-size: 100%;
    right: 5px;
    top: -19px;
    width: calc(20% - 6px);
    height: calc(20% - 0px);
}
.column-title1 {
    left: 16px;
    top: 18px;
    max-width: 64px;
}
.column-title2 {
    left: 0px;
    top: 54px;
    max-width: 90%;
}
.column-list {
    padding-left: 20px;
}
}
@media (max-width: 320px){
.column-title2 {
    max-width: 100%;
}
.column::after {
    width: 20%;
}
}

.watch{
  margin-top: max(4em, min(6vw, 6em));
  background: #fce9e4;
  border: #F4C8D5 4px solid;
  border-radius: 20px;
  padding: 30px 20px 20px;
}
.watch-title{
    width: 300px;
    max-width: 100%;
    margin-bottom: 20px;
}
.watch p{
  text-indent: 1em;
}

.literature, .chief-profile{
  margin-top: 4em;
}
.literature-head{
  font-weight: 700;
}
.literature-list{
  line-height: 1.7;
}

.chief-profile p, .author-profile p{
  font-family: serif;
}
.chief-profile .profile-name, .author-profile .profile-name{
  border-bottom: 2px solid #EFA4A1;
  display: block;
  margin-bottom: 2px;
  position: relative;
}
.chief-profile{
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.chief-profile-img{
  margin-right: 20px;
  margin-top: 8px;
}
.chief-profile .profile-name::after{
  content: '';
  background: url(../images/profile_title.png) no-repeat;
  background-size: 80px;
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 80px;
  height: 28px;
  z-index: -1;
}
.author-profile{
  background: #FDE5D6;
  border-radius: 20px;
  padding: 14px 20px 2px;
  margin-top: 1em;
}
@media (min-width: 768px){
.chief-profile-inner{
    width: 80%;
}
}
@media (max-width: 767px){
.chief-profile-img {
    margin: 20px auto 16px;
}
.chief-profile-img img{
  margin: auto;
}
}

.pan_navi{
  margin-top: 3em;
  padding-left: 20px;
}

a[href^="#modal-id"]{
  color: #D92053;
  font-weight: 700;
}

.fig-right, .fig-right-small{
  width: 100%;
  margin: 2em 0;
}
.fig-center, .fig-column{
  margin: 3em auto 10px;
  width: 100%;
}
[class^="fig-"] img{
  margin: auto;
}
.clear{
  clear:both;
}
figcaption.contents-caption{
  font-family: var(--font-rounded);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0.6em;
}
@media (min-width:641px){
.fig-right, .fig-right-small{
  float: right;
  width: 50%;
  margin: 10px 0 10px 15px;
}
.fig-right-small{
  width: 35%;
}
.fig-column{
  width: 70%;
}
}
