#profile{
  display: flex;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
}

#profile img{
  display: block;
}

#photo_box{
  width: 420px;
}

#info_box{
  width: 480px;
}

.data{
  margin-bottom: 20px;
}

.data h1{
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  padding: 5px 10px;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

/* ===== #photo スライダー ===== */
#photo{
  position: relative;
  overflow: hidden;
  width: 420px;
  height: 525px;
}

#photo ul{
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
  list-style: none;
  margin: 0;
  padding: 0;
}

#photo li{
  flex: 0 0 100%;
  position: relative;
  opacity: 1;
}

#photo li img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== #thumb ===== */
#thumb{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

#thumb li{
  width: calc(20% - 10px);
  cursor: pointer;
}

#thumb li:hover{
  opacity: .5;
}

/* ===== data table ===== */
#data dl{
  display: flex;
  border-bottom: solid 1px #ccc;
  border-left: solid 1px #ccc;
}

#data dt,
#data dd{
  padding: 5px;
  font-size: .9rem;
  border-right: solid 1px #ccc;
}

#data dt{
  width: 30%;
  background: #eee;
}

#data dd{
  width: 70%;
}

/* ===== #schedule ===== */
#schedule .body{
  display: flex;
}

#schedule dl{
  width: calc(100% / 7);
  font-size: .75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

#schedule dt,
#schedule dd{
  background: #eee;
  padding: 5px;
}

#schedule dd{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#schedule dd span{
  display: block;
}

#schedule dd.on{
  background: #fff;
}

#schedule .w6 dt{
  background-color: #acbaf4;
  border-color: #acbaf4;
  color: #fff;
}

#schedule .w0 dt{
  background-color: #E6A69E;
  border-color: #E6A69E;
  color: #fff;
}

/* ===== #diary ===== */
#diary .body{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

#diary article{
  width: calc(100% / 5 - 10px);
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0 0 10px 0;
  line-height: 1;
}

#diary time{
  font-size: .8rem;
}

#diary article:before{
  content: "";
  padding-top: 100%;
}

#diary article h2{
  font-weight: normal;
  font-size: .8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== #interview / #option / #comment ===== */
#interview,
#option,
#comment{
  padding: 0 20px;
}

#interview dl{
  display: flex;
  font-size: .9rem;
  border-bottom: solid 1px #ccc;
  border-left: solid 1px #ccc;
  border-right: solid 1px #ccc;
  padding: 5px;
  background: #fff;
}

#interview dl:nth-of-type(even){
  background: #eee;
}

#interview dt{
  width: 35%;
}

#interview dd{
  width: 65%;
}

#interview dt:before,
#interview dd:before{
  display: inline-block;
  font-size: 1rem;
  vertical-align: middle;
  padding-right: 3px;
  font-weight: bold;
}

#interview dt:before{
  content: "Q";
  color: #4869FB;
}

#interview dd:before{
  content: "A";
  color: #E64E98;
}

#comment .body,
#option .body{
  padding: 20px;
  font-weight: normal;
  font-size: .8rem;
}

#option .body h2{
  font-weight: normal;
  font-size: .8rem;
}

/* ===== SP (max-width: 767px) ===== */
@media (max-width: 767px){

  main .cont_header:nth-of-type(1) h1{
    display: none;
  }

  #prof_navi{
    display: none;
  }

  #photo_box{
    width: 100%;
    position: relative;
    margin-bottom: 50px;
  }

  #photo{
    width: 100%;
    height: auto;
  }

  #photo ul{
    height: auto;
  }

  #photo li img{
    width: 100%;
    height: auto;
    display: block;
  }

  #thumb{
    position: absolute;
    bottom: -30px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
    margin: 0;
    list-style: none;
    z-index: 10;
  }

  #thumb li{
    position: relative;
    border: solid 1px #fff;
    flex: 0 0 14%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
  }

  #thumb li:nth-of-type(1){
    flex-basis: 20%;
  }

  #thumb li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .data h1{
    background: none;
    text-decoration: none;
    text-shadow: none;
    color: #fff;
    padding-left: 0;
  }

  #dataSP{
    color: #fff;
    text-align: center;
  }

  #dataSP h1{
    color: var(--accent);
  }

  #dataSP p{
    font-size: .8rem;
  }

  #schedule dl:nth-of-type(n+4){
    display: none;
  }

  #schedule .body{
    justify-content: space-between;
  }

  #schedule dl{
    width: calc(100% / 3 - 10px);
  }

  #schedule dt{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: solid 1px #acacac;
    background: #acacac;
    color: #fff;
    font-weight: bold;
    padding: 10px 0;
  }

  #schedule dd{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: solid 1px #acacac;
    padding: 10px 0;
  }

  #diarySP h1{
    background: none;
    padding: 0;
  }

  #diarySP .body{
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    justify-content: space-between;
  }

  #diarySP article{
    width: calc(100% / 3 - 5px);
    margin-bottom: 5px;
    border-radius: 10px;
    overflow: hidden;
  }

  #diarySP article:nth-of-type(-n+2){
    width: calc(100% / 2 - 5px);
  }

  #diarySP article:nth-of-type(n+9){
    display: none;
  }

  #diarySP article .body{
    display: none;
  }

  #interview dl,
  #interview dt,
  #interview dd{
    display: block;
    width: 100%;
    background: transparent !important;
    border: 0;
    color: #fff;
  }

  #interview dl{
    border-bottom: solid 1px #aaa;
  }

  #interview dt{
    font-size: .8rem;
  }

  #comment .body,
  #option .body{
    color: #fff;
    padding: 0;
  }

}