/* ヘッダー */
html {
  font-size: 100%;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.5rem;
}

textarea{
  font-size: 16px;
}
input[type=text],input[type=email],input[type=password] {
  font-size: 16px;
}

header {
  padding: 1vw 3vw;
  font-weight: 400;
}

.header-nav {
  display: none;
}

.header-icon {
  width: 44px;
  height: 44px;
  font-size: 10px;
}

.header-logo {
  margin-left: 2vw;
}

.maru-icon {
  border-radius: 50%;
  background-color: lightsalmon;
  display: block;
}

/* トップページ */

.top-main {
  flex-direction: column;
  align-items: center;
  padding:10px 10px 0 10px;
}

.top-image {
  width: 90%;
  max-width: 500px;
  position: relative;
  top: 0;
  left: 0;
}

.top-title {
  width: 90%;
  margin-bottom:2vw;
}

.top-btn {
  position: absolute;
  top: 70%;
  left: 0;
  right: 0;
  padding: 10px 25px;
  margin: 0 auto;
  box-shadow: 2px 2px 4px saddlebrown;
}

.info {
  width: 80%;
  margin: 50px 10px 0 10px;
  align-self: center;
}

/* ログイン */

.login-form {
  width: 100%;
  max-width: 340px;
  margin: 20px 0;
}

/* マイページトップ */
.mypage-title {
  position: absolute;
  z-index: -1;
}

.mypage-top-right {
  display: none;
}

.mypage-top-down {
  display: block;
}

.profile-box {
  padding: 20px;
  background-color: #fff;
  box-shadow: none;
  margin-bottom: 10px;
  color: black;
}

.myreport-title {
  font-size: 1.7rem;
  font-weight: 900;
  font-family: auto;
}

.report-title {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: auto;
}

.symbol-text {
  font-size: 1.5rem;
  color: white;
}


/* アンケート */

.page-back {
  font-size: 1.5rem;
}

.thread-title {
  font-size: 1rem;
}

.category-nav {
  height: 60px;
}

.choice-list {
  width: 90%;
}

.question-window {
  padding: 10px;
}

.answer-question-item {
  width: 90%;
}

.no-answer {
  padding: 40px 10px;
  margin-top: 30px;
}

/* サインアップ */

.binder-container {
  margin: 25px auto;
  width: 97vw;
}

.paper-container {
  width: 100%;
  padding: 20px 10px;
  height: auto;
  box-sizing: border-box;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 3px 8px;
  position: relative;
}

/* テスト */

.test-info {
  margin: 0;
}

.test-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin:30px 10px;
}


.test-choice {
  width: 95%;
  height: auto;
  margin: 15px 0;
  padding: 20px 10px;
  font-size: 16px;
}

.page-base {
  width:90vw;
  height:670px;
}

.page-index {
  margin:0;
}

.test-page {
  width:90vw;
}

.report-container {
  padding: 30px 15px;
}

.report-container-info {
  padding: 0 15px 30px 15px;
}

.report-container-bottom {
  height:550px;
  padding: 15px 5px 35px 5px;
}

/* トークルーム */

.type-group {
  flex: none;
  width: calc(50% - 30px);
}

.heading-bar {
  padding:10px 10px;
}

.sub-container {
  padding: 40px 0;
}

.subcomment-modal {
  width: 90%;
  padding:15px 10px;
}

.subcomment-btn {
  margin: 0;
  margin-left: 5px;
}

.edit-modal {
  width:90%;
}

.rule-modal {
  width:90%;
}

.kadomaru-select {
  width: 100%;
}

.avatar {
  width:45px;
  height:45px;
}

.subcomment-body {
  width: calc(100% - 45px);
}

.thread-item-balloon {
  width: calc(100% -55px);
  width: -webkit-calc(100% - 55px);
}

.balloon-top {
  font-size: 1rem;
}

.balloon-bottom {
  font-size:0.7rem;
}

.footer-nav > a {
  font-size: 0.7rem;
}

/* タイプ一覧 */
.types {
  width: 50%;
  margin: 15px 0;
}


/* ハンバーガーメニュー */

.hbg-content {
  width: 60%;
}

.hbg-bg {
  background: none;
  height: 100vh;
  width: 100%;
}

.padding-30sp {
  padding: 30px;
}

.diary-font{
  font-size: 16px;  
}



@supports (-webkit-touch-callout: none) {
  .subcomment-modal {
    /* Safari用のハック */
    height: -webkit-fill-available;
  }
}

@media screen and (max-width: 350px) {
  html {
    font-size: 80%;
  }
}