body, html {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  height: 100%;
}
body{
  /* background-image: url("https://ikkyu.site/image/kabegami_test2.png"); */
  /* background-size: 250px auto; */
  background-color: #f0f0f0;
}
a{
  color:#222;
  text-decoration:none;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ヘッダー */
header {
  width: 100%;
  height: 50px;
  background-image: url("https://alldomain.jp/image/logo_denden_mini.png");
  background-size: 50px auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #111;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  z-index: 1010;
}
.logo_box{
  width: 100%;
  height:100%;
}
.logo_box a{
  width: 100%;
  height:100%;
  cursor:pointer;
  display:block;
}







.top_button_box {
  flex: 1;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  display: flex;
  gap: 35px; /* ボタン間のスペース */
  justify-content: center; /* 中央寄せ */
  padding-top: 20px;
  padding-bottom: 10px;
}

.top_button {
  width:calc(50% - 100px);
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  color: #111;
  border: none;
  border-radius:10px; /* 角丸 */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  float:left;
  text-align: center;
}

.top_subtitle_box {
  flex: 1;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  display: flex;
  justify-content: left; /* 中央寄せ */
  padding-top:15px;
  padding-bottom:5px;

}
.top_subtitle_box span{
  color:#333;
  font-size: 18px;
  font-weight: bold;
  padding:2px 6px;
  border-bottom: 3px solid #333;
  margin-left:10px;
}









.article_area{
  width: 100%;
  max-width: 375px;
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  padding-top:5px;
  padding-bottom:20px;
}
.article_box{
  width: calc(100% - 30px);
  max-width: 375px;
  margin: 0 auto;
  padding-top:30px;
  padding-bottom:10px;
  color: #111;
  border: none;
  border-radius:10px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}







footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
}


    /* レスポンシブ微調整 */
    @media (min-width: 414px) {
      .top_button_box {
        max-width: 400px;
      }
      .top_subtitle_box {
        max-width: 400px;
      }
      .article_box {
        max-width: 400px;
      }
      .article_area {
        max-width: 400px;
      }
    }

    @media (min-width: 768px) {
      .top_button_box {
        max-width: 600px;
      }
      .top_subtitle_box {
        max-width: 600px;
      }
      .article_box {
        max-width: 600px;
      }
      .article_area {
        max-width: 600px;
      }
    }













.contents_area{
  width:calc(100% - 15px);
  min-height:100%;
  margin:auto;
  margin-top:15px;
  padding-top:10px;
  padding-bottom:10px;
  background-color:#fff;
  border-radius: 10px;
  word-wrap: break-word;
  overflow-x: hidden;
  font-size:15px;
  font-family: Verdana, "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
.contents_box{
  width:calc(100% - 15px);
  min-height:100%;
  margin:auto;
  padding-top:10px;
  padding-bottom:10px;
  border-radius: 10px;
  word-wrap: break-word;
}
.form_box{
  width:calc(100% - 10px);
  margin:auto;
  margin-top:100px;
}
.input_text_box{
  width:100%;
  height:200px;
  margin-bottom:20px;
  font-family: Verdana, "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  word-wrap: break-word;
}
.font{
  font-family: Verdana, "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-size:30px;
}
.input_text{
  width:calc(100% - 50px);
  margin:auto;
  padding: 5px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  color: #000;
  outline: solid 3px #000;
  margin-bottom:20px;
}
.input_pass{
  width:calc(100% - 50px);
  margin:auto;
  padding: 5px;
  outline: solid 3px #000;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  color: #000;
  margin:auto;
}
.submit_button_box{
  width:100%;
  height:80px;
  font-family: Verdana, "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
.submit_button {
  border-radius : 15px 15px;
  font-size     : 20px;
  text-align    : center;
  cursor        : pointer;
  padding       : 10px 20px;
  background    : #000000;
  color         : #ffffff;
  margin:0 auto;
  outline: none;
  margin:auto;
}











.tweet-center {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  margin-left: 15px;
  margin-right: 15px;
}


.x_link_box{
  padding:10px;
}





.youtube_link_box{
  padding:10px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.video-card {
  display: flex;
  width:calc(100% - 20px);
  font-family: sans-serif;
  margin: 10px;
}

.thumbnail {
  width: 150px;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.video-info {
  margin-left: 12px;
  flex: 1;
  word-wrap: break-word;     /* 長い単語を途中で改行 */
  overflow-wrap: break-word; /* 最新の推奨プロパティ（word-wrapの別名） */
  word-break: break-all;     /* 英語の単語でも強制的に改行 */
}

.title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.channel-name {
  font-size: 13px;
  color: #606060;
  margin-bottom: 4px;
}

.meta {
  font-size: 12px;
  color: #606060;
}

.badge {
  background-color: #cc0000;
  color: white;
  font-size: 11px;
  padding: 2px 4px;
  border-radius: 2px;
  margin-left: 6px;
}





