/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
h2{
  font-size: 18px;
  font-weight: 800;
  margin-left: 1em;
}

p {
  line-height: 1.8;
  margin-left: 1em;
}

ul {
  list-style-type: none;
}

ul.center {
  text-align: center;
  margin: 2em 0;
}

ul.flex_box {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  /* スクロールさせるためにcenterから右寄せに */
  width: 100%;
  padding: 1em 1em;
  margin: 2em 0;
  font-weight: bold;
  background: linear-gradient(180deg,rgba(96,145,211, 0.1),rgba(96,145,211,0.2));
  overflow: auto;
  direction: ltr;
  /* スクロールさせるために方向を設定 */
}

ul.flex_box li{
  writing-mode: vertical-rl;
  line-height: 2em;
  letter-spacing: 1.2px;
}

ul.flex_box .word{
  text-indent: 1em;
}

ul.flex_box .post{
  padding-left: 1.2em;
  padding-right: 1.2em;
}

ul.flex_box .date{
  text-align: right;
  font-size: small;
}

dl.flex_box {
  text-align: center;
}

.flex_box_new {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  padding: 1em 1em;
  margin: 2em 0;
  text-orientation: mixed;
  text-underline-position: left; 
}

ul.flex_box_new li{
  writing-mode: vertical-rl;
  line-height: 2em;
  letter-spacing: 1.2px
}

ul.flex_box_new .name{
  font-size: 1.6em;
  font-weight: 800;
}

ul.flex_box_new .word{
  text-indent: 1em;
  font-weight: 800;
}

ul.flex_box_new .post{
  padding-left: 1.2em;
  padding-right: 1.2em;
  input[type="submit"] {
    width: 100%;
    padding: 4px;
    background-color: #437bf3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  input[type="submit"]:hover{
    background-color: #3571f1;
  }
}

ul.flex_box_new .review{
  text-orientation: upright;
  padding-left: 1em;
  padding-right: 1em;
  column-count: 1;
  height: 380px;
  margin-top: 1em;
}

ul.flex_box .review{
  text-orientation: upright;
  padding-left: 1em;
  padding-right: 1em;
  column-count: 1;
  height:380px;
  margin-top: 1em;
}

.odai.title{
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.login.title, .signup.title, .forget.title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

h3.forget, h3.signup, h3.odai {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

h4.forget_memo, h4.signup_memo {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.login.container, .signup.container, .forget.container {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #437bf3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  input[type="submit"]:hover{
    background-color: #3571f1;
  }
}

.flex_box .review.normal{
  font-size: 1em;
  font-weight: 300;
}
.flex_box_edit {
  display: flex;
  writing-mode: vertical-rl;
  line-height: 2em;
  flex-direction: column;
  justify-content: center;
  /* スクロールさせるためにcenterから右寄せに */
  width: 100%;
  padding: 1em 1em;
  margin: 2em 0;
  font-weight: bold;
  background: linear-gradient(180deg,rgba(96,145,211, 0.1),rgba(96,145,211,0.2));
  overflow: auto;
  direction: ltr;
  /* スクロールさせるために方向を設定 */
}
/* 川柳編集ページの生成AIレビュー */
li.review {
  height:380px;
  text-indent: 1em;
  font-size: 1em;
  font-weight: 300;
}

