/* スマホサイズ基準 */
header{
  width: 100%;
  height: 60px;
  box-shadow: 0px 3px 10px #bbb;
  /* text-align: center; */
  position: absolute;
  top:0px;
  left: 0px;
  display: block;
  z-index: 100;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img,
dl, dt, dd, ol, ul, li, form, label, table, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
  margin: 0px;
  padding: 0px;
  font-weight: inherit;
  font-style: inherit;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

table {
  margin: 20px auto 0 auto;
}

summary {
  cursor: pointer;
}

/* adobeフォントのFOUT対策 */
html.wf-loading body {
  visibility: hidden;
}


/* フラッシュメッセージ用 */
.flash_message{
  font-size: 28px;
  color: #5ce557;
  text-align: center;
  font-weight: bold;
  animation-name: flash_message;
  animation-duration: 0.5s;
}
@keyframes flash_message {
  from{
    transform: translateY(-10px);
    opacity: 0;
  }
  to{
    transform: translateY(0px);
    opacity: 1;
  }
}

/* 汎用 */
  .center{
    text-align: center;
    margin-top: 80px;
  }

  .visually_hidden {
    position: absolute !important;
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0, 0, 0, 0); 
    white-space: nowrap; 
    border: 0;
}

/* 文字色：赤 */
  .text_red {
    color: red;
    border: none;
    /* background: transparent; */
  }

/* 文字色：白 */
  #button_text_white {
    color: white;
    border: none;
    /* background: transparent; */
  }

  #confirm_button {
    appearance: none;        /* ブラウザ標準の見た目を消す */
    -webkit-appearance: none; /* Safari対応 */
    border: none;            /* 枠線を消す */
    background: #8fc31f;
    color: #fff;
    padding: 15px 30px;
    border-radius: 15px;
    cursor: pointer;         /* カーソルを「手」に */
    font-size: 18px;
  }

  /* 押したときの効果 */
  #confirm_button:hover {
    background: #8fc54f;
  }
  #confirm_button:active {
    background: #8fc65f;
  }

/* 汎用ボタン背景 */
/* 背景色：緑  */
  .button_background_green{
    margin: 40px auto;
    padding: 10px;
    background-color: #8fc31f;
    border-radius: 15px;
    width: 50%;
    text-align: center;
  }
  /* 背景色：オレンジ  */
  .button_background_orange{
    margin: 30px 0;
    padding: 16px;
    background-color: #ff9224;
    border-radius: 15px;
    width: 40%;
    text-align: center;
    display: inline-block;
  }

  /* aタグのボタン化用の装飾 */
  .text_white_for_a_tag {
    color: white;
    border: none;
    text-decoration: none;
  }
  .text_bule_for_a_tag {
    color: #337ab7;
    border: none;
    background: transparent;
    text-decoration: none;
  }


/* typeAの装飾（白い本体＋ドロップシャドウ＋角丸） */
#typeA_form {
  margin: 20px auto;
  background: #fff;
  border-radius: 25px;
  width: 90%;
  height: auto;
  box-shadow: 0px 3px 10px #bbb;
}
#typeA_form_box {
  padding: 5px 0 30px 0;
}
.typeA_parts {
  /* font-size: 30px; */
  margin: 25px 0 0 40px;
  text-align: left;
}

/* フォントサイズ */
.fontsize_14px {
  font-size: 14px;
}
.fontsize_30px {
  font-size: 30px;
}

/* フォームのテキストボックスの装飾 */
.input_text {
  width: 75%;
  height: 30px;
border-radius: 5px;
border: 2px solid #7a7a7a;
}

.button_pink {
  margin: 14px 12px;
  padding: 14px;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-style: normal;
  font-weight: 600;
  display: inline-block;
  background: -webkit-linear-gradient(#fe5f95 , #ff3f7f);
  background: linear-gradient(#fe5f95 , #ff3f7f);
  border: 1px solid #fe3276;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}
.button_blue {
  margin: 14px 12px;
  padding: 14px;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-style: normal;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: #7d84d4;
  border: 1px solid #666ec7;
  color: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.button_pink:hover, .button_blue:hover  {
  -webkit-animation: scale .3s ease-in-out;
  animation: scale .3s ease-in-out;
}

.button_header {
  margin: 0 5px 0 0;
  padding: 14px;
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-style: normal;
  font-weight: 600;
  display: inline-block;
  /* width: 90px;
  height: 48px;
  line-height: 48px; */
  background: -webkit-linear-gradient(#fe5f95 , #ff3f7f);
  background: linear-gradient(#fe5f95 , #ff3f7f);
  border: 1px solid #fe3276;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  /* filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.3)); */
}
.button_header:hover {
  -webkit-animation: scale .3s ease-in-out;
  animation: scale .3s ease-in-out;
}

@-webkit-keyframes scale {
  50% { -webkit-transform: scale(1.1); }
}
@keyframes scale {
  50% { transform: scale(1.1); }
}
.font {
  /* font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
  font-style: normal;
  font-weight: 300; */
  font-family: bokutoh-ruika, sans-serif;
font-style: normal;
font-weight: 100;
}

.howto {
  width:70%;
  margin: 0 auto;
}

footer {
  background: #B3B3B3;
  font-size: 78% !important;
  text-align: center;
  /* min-width: 1000px;
  min-height: 300px; */
}
footer section {
  padding-top: 30px;
  padding-bottom: 5px;
  width: 100%;
  color: #FFF;
  font-size: 11px !important;
  position: relative;
  text-align:center;
  margin:0 auto;
  line-height: 1.5;
}
footer iframe {
  margin: 20px;
  padding-top: 30px;
  width:368px;
  height: 207px;
}

#headerIn {
  position: relative;
  height: 70px;
  /* width: 100%;
  height: 100% */
}

.header_title {
  position: absolute;
  top: 20px;
  left: 125px;
}

.header_right {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px; /* ボタン間の余白 */
  align-items: center;
}

.logout_btn {
  background: #bbb;
  color: white;
  padding: 10px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
}

.mypage_circle {
  width: 40px;
  height: 40px;
  color: white;
  background-color: #bbb;
  text-align: center;
  font-size: 26px;
  position: absolute;
  top:10px;
  right:10px;
  border-radius: 25px;
}
.mypage_circle:hover {
  cursor: pointer;
}

.top_icon_area {
  width: 120px;
  height: 70px;
  position: absolute;
  z-index:1;
}
.top_icon_area img{
  width: 90%;
  height: 90%;
  position: absolute;
  top:6px;
  left: -3px;
}
.top_icon_area::before {
  content: "";
  width: 125px;
  height: 75px;
  background: white;
  transform: skewX(-25deg);
  border-radius: 0 0 25px 0;
  box-shadow: 0px 3px 10px #bbb;
  position:absolute;
  left:-20px;
  z-index:-1;
}

.ad {
  z-index:15;
  padding-top: 10px;
  text-align:center;
  display: block;
}

#twitter{
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
  background-color: #eee;
}

.twitter-timeline {
  z-index:15;
  padding-top: 10px;
  text-align:center;
  display: block;
}

.border {
  width: 90%;
  height: 1px;
  background-color: #5e5e5e;
  margin: 30px auto 40px auto;
}

@media screen and (min-width:768px) {

  #typeA_form {
    margin: 20px auto 160px auto;
    width: 500px;
  }

  .typeA_parts {
    margin: 25px 0 0 50px;
  }

  .howto {
    width:30%;
  }

}


/* @media screen and (max-width: 480px)　{

  #wrapper{
    padding-top: 80px;
    position: relative;
  }

  #headerIn{
    width:230px;
    margin:0 auto;
    text-align:left;
    position:relative;
  }

} */
