/* ========================================================== */
/* main */

header {
  color: #3d85c6;
  font-size: 1.5em;
  text-align: center;
}


.content p {
  margin: 35px;
}

h1 {
 margin: 15px;
}

h2 {
  color: #3d85c6;
  padding-bottom: 5px;
  padding-left: 25px;
  margin: 10px;
  border-bottom: 3px solid #3d85c6;
}

ul {
  line-height: 1.8;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 20px;
  padding: 12px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: #0d76d1;
}

table {
  width: calc(100% - 35px * 2);
  box-sizing: border-box;
  border-collapse: collapse;
  margin: 0 auto 35px auto;
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

th {
  background-color: #e3f2fd;
}
/* ========================================================== */

/* ========================================================== */
/* トップページ */
.top-page-section{
  color: #3d85c6;
  font-size: 1.2em;
  font-weight: 500;
  background-color: white;
  margin: 10px;
  padding: 15px 25px 15px 25px;
}
/* ========================================================== */

/* ========================================================== */
/* 表サイト ナビゲーションバー */
.nav-container{
  background: 
    linear-gradient(180deg, #4a749a 20px, white 20px, white 100%),
    linear-gradient(180deg, #4a749a 20px, #80b2e0 20px, #80b2e0 100%);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  background-position: left, right;
}


.nav-main .nav-logo{
  background: linear-gradient(180deg, #4a749a 0px, #4a749a 20px, white 20px, white 100%);
  display: flex;
}
.nav-logo .nav-logo-img{
  margin: 3px 20px 0px;
}
.nav-logo .nav-logo-img-name{
  width: 191px;
  height: 51px;
  margin: 20px 20px 0 auto;
}
.nav-logo .nav-logo-link{
  display: flex;
  padding: 0;
  margin: 0 0 auto;
}
.nav-logo .nav-logo-link:hover{
  background-color: transparent;
}


#nav-href {
  background-color: #80b2e0;
  color: white;
  padding: 0px 20px;
  text-decoration: none;
  text-align: center;
  flex-grow: 1;
  height: 50.67px;
  line-height: 50.67px;
  white-space: nowrap;
}
#nav-href:hover {
  background-color: #3d85c6;
}


.nav-main ul li #nav-href {
  padding: 0;
  display: block;
  background-color: initial;
}
/* ========================================================== */

/* ========================================================== */
/* 表サイトのフッター */
footer {
  background-color: #f5f5f5;
  color: #999999;
  text-align: center;
  font-size: 0.7em;
  padding: 10px;
  position: sticky;
  top: 100vh;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* ========================================================== */

/* ========================================================== */
/* ダミー・裏サイト向け */
.body_dummy {
  margin: 0;
  background-color: #000000;
  color: rgb(0, 255, 42);
}

.body_thread {
  margin: 0;
  background-color: #000000;
  color: rgb(255, 255, 255);
}

.header_dummy {
  background-color: #000000;
  color: rgb(0, 255, 42);
  padding: 20px;
  text-align: center;
}
.header_thread {
  background-color: #000000;
  color: rgb(255, 255, 255);
  padding: 20px;
  text-align: center;
}

.content_dummy {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
  background-color: #000000;
  color: rgb(0, 255, 42);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.content_dummy a{
  color: rgb(0, 255, 42);
  text-decoration: none;

}
.content_thread {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
  background-color: #000000;
  color: rgb(255, 255, 255);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.content_thread summary {
  font-size: 1.5em;
}

.content-link {
  font-size: 1.2em;
  padding-left: 20px;
}

.content_thread div{
  text-align: center;
}

.thread-main-text {
  text-align: left;
  padding-left: 20px;
}

.thread-head {
  text-align: left;
  font-size: 1.5em;
}

.verify-owner-question form{
  display:inline-block;
  width: 100%;
}
.verify-owner-question input{
  width: 60%;
}
.verify-owner-question2 form{
  display:inline-block;
  width: 100%;
}
.verify-owner-question2 button{
  margin-right: 10px;
}
.feature_form form{
  display:inline-block;
  width: 100%;
}
.feature_form input{
  width: 100%;
  height: 40px;
  border: 1px solid #000000;
  padding: 10px 0 10px 0;
  box-sizing: border-box;
}
.content_thread a{
  color: rgb(255, 255, 255);
}

.footer_dummy {
  background-color: #000000;
  color: rgb(0, 255, 42);
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}

.dropping_item {
  display: inline-block;
  text-align: left;
  width: 100%;
}

.content_form{
  text-align: center;
}

.mid_container {
  margin: 0 auto;
  max-width: 400px;
  text-align: left;
}

.color_dummy {
  background-color: #000000;
  color: rgb(0, 255, 42);
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}
.color_dummy a{
  color: rgb(0, 255, 42);
  text-decoration: none;
}
.color_thread {
  background-color: #000000;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px;
  margin-top: 40px;
}

.button_confirm {
  background-color: #ffffff;
   min-width: 8em;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 2px;
  font-size: 1em;
  cursor: pointer;
}

.form_send_button{
  background-color: #66A266;
  border-radius:12px;
  width: 10%;
  min-width: 100px;
  min-height: 50px;
}

.form_send_button:hover{
  background-color: #538353;
}
.form_send_button:disabled{
  background-color: #808080;
  cursor: default;
}

.buck_button{
  background-color: #6FA8DC;
  border-radius:12px;
  width: 10%;
  min-width: 165px;
  min-height: 50px;
  text-align: center;
}

.buck_button:hover{
  background-color: #5b89b4;
}
.form_send_button:disabled{
  background-color: #808080;
  cursor: default;
}

.radius_form{
  border-radius:8px;
  text-align: center;
  text-align-last: center;
}

.dropping_items{
  border-radius:6px;
  text-align-last: center;
  width:100%;
  height:40px;
  border: 1px solid #000000;
}

.center_message{
  display: inline-block;
  margin-left: 10%;
  width: 90%;
  text-align: center;
}
.mid_line{
  width: 80%;
}

.inline_container{
  display: inline-block;
  width: 80%;
  margin-left: 20%;
}

.message_container{
  display: inline-block;
  text-align: left;
  width: 100%;
}
.message_button_container{
  display: inline-block;
  text-align: center;
  width: 100%;
}

.content_message{
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  text-align: center;
}

.button_container{
  margin-left: 25%;
  text-align: left;
}

.warning_text{
  color: rgb(228, 20, 20);
}

.center_container{
  display: inline-block;
  text-align: center;
  width:100%;
}

.inline_block_container{
  display: inline-block;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  margin-bottom: 5px;
}

.feature_text{
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  margin-bottom: 5px;
  
}


/* ========================================================== */

/* ========================================================== */
/* 旧バージョン */
nav {
  background-color: #1565c0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
}
nav a:hover {
  background-color: #0d47a1;
}

/* ========================================================== */
/* 本番開発用裏サイト */
/* ========================================================== */

.content_thread{
  margin: 20px auto;
  padding: 20px;
  max-width: 1000px;
  min-width: 480px;
  display: flex;
  flex-direction: column;
}

.thread_header{
  background-color: #3f3f3f;
  color: rgb(255, 255, 255);
  margin: auto, auto;
  text-align: center;
  display: block;
  height: 30%;
  max-height: 100px;
}

.thred_page_title{
  height: 100%;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20pt;
}

/* ========================================================== */
/* モーダル */
/* ========================================================== */
.image-grid {
  display: flex;              /* 横並びに配置 */
  justify-content: space-around;
  gap: 20px;                  /* 画像同士の間隔 */
}

.modal_image_container{
  width: 80%;
  height: 80%;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;

}

/* サムネイル画像 */
.thumbnail {
  width: 50%;
  height: 50%;
  max-width: 250px;
  max-height: auto;
  cursor: pointer;            /* クリックできるカーソルに */
  transition: transform 0.3s; /* ホバー時のアニメーション */
}

.modal {
  display: none;              /* 初期状態は非表示 */
  position: fixed;            /* スクロールしても固定 */
  z-index: 1;                 /* 最前面に表示 */
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.7); /* 半透明の背景 */
}

/* 拡大画像 */
.modal-content {
  display: block;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: scale-down;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 10px; 
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* ========================================================== */
/* スレッド */
/* ========================================================== */

.dummy_tag{
  margin: 0px;
}

.force_dummy_tag{
  margin: 0px!important;
}

.thread_link_box{
  display: flex;
  width: 100%;
  min-width: 300px;
  display: flex;
  justify-content: space-between;
  min-height: 80px;
  background-color: #434343;
  text-decoration: none;
  color: #f5f5f5;
  margin-bottom: 10px;
}
.thread_link_box:hover{
  background-color: #979797;
}

.thred_page_title_old{
  text-align: left;
  font-size: 24px;
  justify-content: left;
  margin-left: 10px;
  margin-right: auto;
  margin-bottom: 20px;
  margin-top: auto;
}

.thread_from_time{
  text-align: right;
  font-size: 24px;
  justify-content: left;
  margin-left: auto;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-top: auto;
}
.locked-icon{
  margin-left: 20px;
  margin-right: 20px;
  vertical-align: bottom;
}

.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: transparent;
  background-color: transparent;
  cursor: pointer;
}

.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  background: black;
  transition: all 0.4s;
}

.c-hamburger span:nth-of-type(1) {
  top: -4px;
}

.c-hamburger span:nth-of-type(2) {
  top: 1px;

  transform: translateX(-0.45deg);
}

.c-hamburger span:nth-of-type(3) {
  top: 6px;
  transform: translateX(-0.45deg);
}

.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}


/*
*860pxより小さい場合
*既存のヘッダー表示が860px無いと崩れるため、境界値として設定
*/
@media screen and (max-width: 861px) {

  /* ハンバーガーメニュー */
  .c-hamburger span {
    display: block;
    position: relative;
    left: 50%;
    width: 24px;
    height: 2px;
    transform: translateX(-50%);
    background: black;
    transition: all 0.4s;
  }
  .c-hamburger {
    position: relative;
    z-index: 1000;
    width: inherit;
    height: inherit;
    margin: 20px 0px;
    border: transparent;
    cursor: pointer;
  }
  .c-hamburger:hover{
    background-color: white;
  }
  .c-hamburger button:hover{
    background-color: white;
  }

  .c-hamburger span:nth-of-type(1) {
    top: -4px;
  }

  .c-hamburger span:nth-of-type(2) {
    top: 1px;
    transform: translateX(-0.45deg);
  }


  .c-hamburger span:nth-of-type(3) {
    top: 6px;
    transform: translateX(-0.45deg);
  }

  .nav-res {
    display: flex;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 10px;
  }
  .nav-elements {
    display: none;
  }
  .nav-elements ul {
    display: none;
  }
  .nav-elements a {
    display: none;
  }
   .nav-elements a:hover {
    background-color: #1e90ff;
  }
  .nav-main{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background: linear-gradient(180deg, #4a749a 0px, #4a749a 20px, white 20px, white 100%);
  max-width: 860px;
  min-width: 360px;
  margin: 0 auto;
  justify-content: space-between;
  }

  html{
    height: 100%;
    margin: 0;
    max-width: 860px;
    min-width: 360px;
  }


  body {
    /* フッター分下端に余白を持たせておく */
    height: 100%;
    margin: 0;
    background-color: #f5f5f5;
    color: #555555;
    max-width: 860px;
    min-width: 360px;
  }

  .content {
    margin: 20px auto;
    background-color: white;
    max-width: 860px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
  }
  .p-header__nav {
    display: none;
    z-index: 10;
    position: absolute;
    top: 0;
    right: auto;
    align-items: right;
    justify-content: end;
    width: 100%;
    height: 100vh;
    background: transparent;
    opacity: 0;
    transition: top 0.6s, right 0.6s, opacity 0.6s;
  }

  .p-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    padding: 0 20px;

  }

  .p-header__hamburger {
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    width: 95px;
    height: 100%;
  }
  .p-header__nav{
    display: none;
  }
  .p-header__nav.is-active {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 1;
    background-color: #fff;
  }

  .p-nav__list {
    display: block;
    margin: auto 0px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-nav__item {
    position: relative;
    width: 100%;
    list-style:none
  }


  .p-nav__link {
    color: black;
    display: block;
    padding: 20px;
    width: 100%;
  }

  .p-nav__inner {
    margin: auto auto;
    max-width: initial;
    text-align: center;
    width: 100%;
  }

}


/*
*860px以上の場合
*既存のヘッダー表示が860px無いと崩れるため、境界値として設定
*/
@media screen and (min-width: 860px) {

  .nav-res {
    display: none;
  }
  .nav-main .nav-elements{
  background: linear-gradient(180deg, #4a749a 0px, #4a749a 20px, #80b2e0 20px, #80b2e0 100%);
  flex-grow: 1;
  display: flex;
  padding-top: 20px;
}
.nav-elements ul{
  display:flex;
  white-space: nowrap;
}
.nav-elements a{
  display:flex;
}

.nav-main{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background: linear-gradient(180deg, #4a749a 0px, #4a749a 20px, white 20px, white 100%);
  max-width: 1000px;
  min-width: 860px;
  margin: 0 auto;
}
html{
  height: 100%;
  margin: 0;
  min-width: 860px;
}

body {
  /* フッター分下端に余白を持たせておく */
  height: 100%;
  margin: 0;
  background-color: #f5f5f5;
  color: #555555;
  min-width: 860px;
}
.content {
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  max-width: 1000px;
  min-width: 860x;
  display: flex;
  flex-direction: column;
}
.p-header__hamburger {
    display: none;
  }

  .p-header__nav {
    display: none;
    position: static;
    opacity: 1;
    height: inherit;
    width: initial;
  }
  .p-nav__list {
    padding-right: 0;
    padding-left: 0;

    display: flex;
  }
  .nav-main ul{
  position: relative;
  display: block;
  background-color: #80b2e0;
  color: white;
  padding: 0px 20px;
  text-decoration: none;
  text-align: center;
  flex-grow: 1;
  margin: 0;
  list-style: none;
  cursor: pointer;
  height: 50.67px;
  line-height: 50.67px;
}
.nav-main ul:hover {
  background-color: #3d85c6;
}
.nav-main ul li {
  position: absolute;
  left: 0px;
  top: 100%;
  display: none;
  background-color: #80b2e0;
  color: white;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  flex-grow: 1;
  height: 100%;
}
.nav-main ul:hover li {
  background-color: #80b2e0;
  display: grid;
}
.nav-main ul:hover li:hover {
  background-color: #3d85c6;
  display: grid;
}


}