@charset "utf-8";

/* Basic ****************************************/
html {
  width: 100%;
  height: 100%;
  /*scroll-behavior: smooth;*/
}

body {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-attachment: fixed;
  color: #333;
  font-family: "Helvetica neue", "Arial", "Roboto", "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
  /*font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";*/
  font-size: 16px;
  -webkit-text-size-adjust : 100%;
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
body#body-admin {
  width: 1100px;
}

article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary
{
  display:block;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6,
p, pre, blockquote,
ul, ol, li, dl, dt, dd, a {
  margin: 0;
  padding: 0;
}

p {
  overflow-wrap: break-word;
}

img {
  border: none;
}

hr.hr_01 {
  width: 90%;
  height: 1px;  
}
hr.hr_02 {
  height: 2px;
}
hr.hr_03 {
  height: 3px;
}
hr.hr_04 {
  height: 4px;
}
hr.hr_05 {
  height: 5px;
}
hr.hr_06 {
  height: 6px;
}

form {
  margin: 0;
  padding: 0;
}

a {
  color: #4080ee;
  text-decoration: none;
}
a:visited {
  color: #4080ee;
}
a:active {
  color: #ffd700;
  text-decoration: underline;
}
a:hover {
  color: #70B0f0;
  text-decoration: underline;
}
a:hover img {
  opacity:0.6;
  -ms-filter: "alpha(opacity=60)";  /* ie 8 */
  -moz-opacity:0.6;                 /* FF lt 1.5, Netscape */
}

/* General **************************************/
.clear {
  clear: both;
  height: 0;
  margin: 0;
  padding: 0;
  font-size: 0%;
  line-height: 0%;
}

.mt05 { margin-top: 5px !important;}
.mt10 { margin-top: 10px !important;}
.mt15 { margin-top: 15px !important;}
.mt20 { margin-top: 20px !important;}
.mt25 { margin-top: 25px !important;}
.mt30 { margin-top: 30px !important;}
.mt35 { margin-top: 35px !important;}
.mt40 { margin-top: 40px !important;}
.mt60 { margin-top: 60px !important;}
.mb05 { margin-bottom: 5px !important;}
.mb10 { margin-bottom: 10px !important;}
.mb15 { margin-bottom: 15px !important;}
.mb20 { margin-bottom: 20px !important;}
.mb25 { margin-bottom: 25px !important;}
.mb30 { margin-bottom: 30px !important;}
.mb35 { margin-bottom: 35px !important;}
.mb40 { margin-bottom: 40px !important;}
.mb60 { margin-bottom: 60px !important;}
.ml05 { margin-left: 5px !important;}
.ml10 { margin-left: 10px !important;}
.ml15 { margin-left: 15px !important;}
.ml20 { margin-left: 20px !important;}
.ml25 { margin-left: 25px !important;}
.ml30 { margin-left: 30px !important;}
.ml35 { margin-left: 35px !important;}
.ml40 { margin-left: 40px !important;}
.mr05 { margin-right: 5px !important;}
.mr10 { margin-right: 10px !important;}
.mr15 { margin-right: 15px !important;}
.mr20 { margin-right: 20px !important;}
.mr25 { margin-right: 25px !important;}
.mr30 { margin-right: 30px !important;}
.mr35 { margin-right: 35px !important;}
.mr40 { margin-right: 40px !important;}
.f_s250 { font-size: 2.5rem;;}
.f_s240 { font-size: 2.4rem;;}
.f_s230 { font-size: 2.3rem;;}
.f_s220 { font-size: 2.2rem;;}
.f_s210 { font-size: 2.1rem;;}
.f_s200 { font-size: 2.0rem;;}
.f_s190 { font-size: 1.9rem;;}
.f_s180 { font-size: 1.8rem;;}
.f_s170 { font-size: 1.7rem;;}
.f_s160 { font-size: 1.6rem;;}
.f_s150 { font-size: 1.5rem;;}
.f_s140 { font-size: 1.4rem;;}
.f_s130 { font-size: 1.3rem;}
.f_s120 { font-size: 1.2rem;}
.f_s110 { font-size: 1.1rem;}
.f_s090 { font-size: 0.9rem;}
.f_s080 { font-size: 0.8rem;}
.f_s070 { font-size: 0.7rem;}
.f_s060 { font-size: 0.6rem;}
.f_s050 { font-size: 0.5rem;}

.f_bold { font-weight: bold;}
.f_red { color: #dc143c;}
.f_green { color: #14883c;}

.f_marumoji { font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";}

/* Structure **********************/
.pc_only {
  display: block;
}

.mb_only {
  display: none;
}

div#contents {
  width: 550px;
  min-height: 1780px;
  margin: 0 0 0 auto;
}

/* Layout Control **********************/
div#topimage img {
  width: 100%;
}

h1 {
  padding: 32px 0 0;
  font-size: 1.8rem;
}
h2 {  font-size: 1.4rem;}
h3 {  font-size: 1.3rem;}
h4 {  font-size: 1.2rem}
h5 {  font-size: 1.1rem;}

p {
  margin: 20px 30px;
}

/* MENU **********************/
div#topimage {
  line-height: 0px;
}

div#nav {
  position: fixed;
  right: 570px;
  bottom: 20px;
  color: #000;
  z-index: 1;
}
div#nav.nav-admin {
  right: initial;
  left: 411px;
}
div#nav menu {
}
div#nav menu li {
  list-style: none;
  margin: 6px 0;
  text-align: right;
}
div#nav menu li.active {
  font-weight: bold;
}
div#nav menu li a {
  color: #000;
  text-decoration: none;
}
div#nav menu li a:visited {
  color: #000;
}
div#nav menu li a:active {
  color: #FFF;
  text-decoration: underline;
}
div#nav menu li a:hover {
  color: #2d8fff;
  text-decoration: underline;
}

/* TITLE **********************/
div#title {
  position: fixed;
  top: 20px;
  left: 1.6vw;
  background-color: rgba(255,255,255,0);
  text-align: left;
  color: #FFF;
  z-index: 2;
}
div#title.title-admin {
  position: absolute;
  top: 10px;
  left: 17.5px;
}
div#title p.main {
  margin: 0 0 5px;
  font-size: 2.5vw;
  font-weight: bold;
  /*text-decoration: underline;*/
}
div#title p.main.main-admin {
  font-size: 1.4rem;
}
div#title p.sub {
  margin: 0;  
  font-size: 1.6vw;
}
div#title p.sub.sub-admin {
  font-size: 0.9rem;
}

/* Header & Footer **********************/
header {
  width: 100%;
  background: #E1FAD4;
}

footer {
  clear: both;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 8px;
  text-align: center;
  white-space: nowrap;
}
footer a,
footer a:visited {
  color: #444; 
}
footer a:hover {
  color: #70B0f0;
  text-decoration: underline;
}

img.img_separator {
  width: 100%;
}

img.image_normal {
  width: 100%;
}

/* Button to Top **********************/
div#buttonToTop {
  display: none;
}
div#buttonToTop img {
  width: 100px;
  position: fixed;
  bottom: 15px;
  right: 10px;
  opacity: 0.6;

}

/************************************/
/* Post & Edit                      */
/************************************/

form select {
  height: 25px;
}

span.tt {
  font-size: 1.0rem;
  font-weight: bold;
}

form textarea {
  resize: none;
}

div#workarea {
  position: absolute;
  width: 550px;
  padding-top: 90px;
  min-height: 1440px;
  background-color: powderblue;
  z-index: 1;
}

div[id^="edit_type01_general"] {
  margin-top: -20px;
}

div[id^="edit_type00_"] form#form_hidden_data {
  position: absolute;
  right: 28px;
  font-size: 0.9rem;
  margin-top: 2px;
}

form#form_select_article {
  margin-bottom: 10px;
}

form[id^="form_type01_"] {
  padding: 20px 0;
}
form[id^="form_type01_"] span.th {
  font-size: 0.9rem;
  font-weight: bold;
}
form[id^="form_type01_"] p {
  margin: 0px 32px 22px 25px;
}
form[id^="form_type01_"] textarea {
}
form[id^="form_type01_"] div#form_article_status {
  position: absolute;
  right: 30px;
  font-size: 0.9rem;
  margin-top: -9px;
}
form[id^="form_type01_"] div#form_article_button,
form[id^="form_type01_"] div#form_menu_button,
form[id^="form_type01_"] div#form_general_button {
    margin-top: 50px;
}

.width_full {
  width: 100%;
}
.width_half {
  width: 50%;
}
.width_onethird {
  width: 33%;
}
.width_quater {
  width: 25%;
}

.rounded_radius{
  border-radius: 4px;  
}

div#menu_table {
  display: inline-block;
  margin-bottom: 30px;
}
div#menu_table table td {
  border: solid 1px #888;
  border-radius: 3px;
  background: #FFF;
  padding: 4px;
  font-size: 0.9rem;
}
div#menu_table table td.seq {
  background: #DDD !important;
  font-weight: bold;
}
div#menu_table table td.pad {
  width: 32px;
  text-align: center;
}

div#logout {
  position: absolute;
  right: 24px;
  top: 58px;
}

div.general_colors_1 {
  display: inline-block;
}
div.general_colors_1 p input {
  width: 110px;
}
div.general_colors_2 {
  display: inline-block;
  margin-left: -52px;
}
div.general_colors_2 select {
  height: 21.5px;
}
div.general_marumoji {
  position: absolute;
  right: 0;
}
div.general_marumoji p {
  font-size: 0.9rem;
}

div#mainBox {
  text-align: left;
  padding: 25px 35px;
  overflow-wrap: break-word;
}
div#mainBox.admin {
  background: #f0f0f0;
}

div.shift_tab_1 {
  margin-left: 25px;
}
div.shift_tab_1.admin {
  background: #eebbee;
}
div.shift_tab_2 {
  margin-left: 50px;
}
div.shift_tab_2.admin {
  background: #f0Ccf0;
}
div.shift_tab_3 {
  margin-left: 75px;
}
div.shift_tab_3.admin {
  background: #f8D8f8;
}

div.t-align_center {
  text-align: center;
}
div.t-align_center.admin {
  background: #ffebcd;
}
div.t-align_right {
  text-align: right;
}
div.t-align_right.admin {
  background: #afeeee;
}

span.f-weight_bold {
  font-weight: bold;
  position: relative;
  top: 1px;
}

span.f-weight_emphasis {
  font-weight: bold;
  font-size: 1.25rem;
  position: relative;
  top: 2px;
}
span.f-weight_bold.admin,
span.f-weight_emphasis.admin {
  background: #98fb98;
}

/* Image Preview */

div#preview_image_box {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 520px;
}

div.preview_image {
  padding: 5px;
  text-align: right;
}
div.preview_image span {
  background-color: red;
  color: lemonchiffon;
}
div.preview_image span:hover {
  cursor: pointer;
}

div.preview_image img,
div.preview_image video {
  width: 120px;
  height: 75px;
}

div.uploaded_image img,
div.uploaded_image video {
  width: 480px;
  /*margin-bottom: -20px;*/
}

/* Child Article */

div.chd_title span {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 1.05rem;
  font-weight: bold;
}
div.chd_title span:hover {
  cursor: pointer;
  cursor: hand;
}
div.chd_contents {
  display: none;
}
span[id^='fold_contents_'] {
  font-size: 1.5rem;
}
span[id^='fold_contents_']:hover {
  cursor: pointer;
  cursor: hand;
}

/* Background Movie */

/* ラッパー（外側の要素） */
.video-wrapper {
  aspect-ratio: 16 / 12;  /* 縦横比（アスペクト比） */
  overflow: hidden;
  position: fixed; /* 絶対配置するコンテンツや疑似要素の基準とする */
  width: 100%;
  height: 100%;
  max-width: 1600px;
}
 
/* 疑似要素でオーバーレイを表示 */
.video-wrapper::before {
  content: "";
  position: absolute; /* 絶対配置 */
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(9, 2, 108, 0.15);
}
 
/* video 要素 */
.video-wrapper video {
  width: 100%;  /* 明示的に幅を設定（必須） */
  height: 100%; /* 明示的に高さを設定（必須） */
  object-fit: cover; /* コンテンツボックスに収まるように拡大縮小 */
}
 
@media screen and (max-width: 480px) {
  .video-wrapper {
    aspect-ratio: 1 / 1;
  }
  .video-content {
    top:38%;
    margin-top: 1rem;
  }
}

/* Web Color Table */

div#websafecolor table {
  margin: 0 auto;
  width: 550px;
}
div#websafecolor table td {
  width: 110px;
  height: 50px;
  text-align: center;
  font-size: 0.65rem;
}
div#websafecolor table button {
  width: 50%;
  font-family: monospace;
}

div#colorPallet {
  top: -163px;
  left: 44px;
  position: relative;
  width: 110px;
  height: 60px;
  background: #FFF;
  font-weight: bold;
  font-size: 90%;
}
div#colorPallet p {
  margin: 0;
  padding-top: 18px;
}

div#websafecolor {
  margin-top:  -55px;
}

div#colorCopied {
  position: absolute;
  bottom: 1396px;
  left: 40px;
  visibility: hidden;
  font-weight: bold;
}
div#colorCopied span {
  font-size: 0.75rem;
}

div#accesscounter {
  position: absolute;
  top: 71px;
  left: 17px;
  z-index: 5; 
}

/* Construction Error */

div#constructionError {
  display: none;
  padding: 16px 0;
  background: red;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

div#constructionErrorTitle {
  padding: 0 0 15px;
}