@import url(https://www.investtokyo.metro.tokyo.lg.jp/cgi-bin/mt/mt-static/themes-base/blog.css);
@import url(https://www.investtokyo.metro.tokyo.lg.jp/cgi-bin/mt/mt-static/themes/minimalist-red/screen.css);

.new_governor {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #000;
  background-color: #fff !important;
  border-top: 4px solid #FF0004 !important;
  padding: 40px;
  box-sizing: border-box;
}

.inner-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px;           /* 間に余白 */
}

.video-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 */
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.image {
  flex-shrink: 0;          /* 縮ませない */
  width: 200px;            /* 必要に応じて画像幅 */
}

.text-column {
  flex: 1;
  line-height: 1.6;
  text-align: center !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 2.5rem;
}

.text-box {
  text-align: center
  flex: 1;
}

.message {
  display: block;
  padding-top: 12px;
  padding-left: 12px;
  padding-right: 12px;
  width: 98%;
  margin: 0 auto;
  box-sizing: border-box;
  line-height: 1.6;
  border: 1px solid black;
  background-color: #e0f7ff;
}

.name {
  width: 400px;               /* 好きな横幅 */
  margin-left: 320px;
}


/* モバイル対応 */
@media screen and (max-width: 767px) {
  .new_governor {
    padding: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #000;
    background-color: #fff !important;
    border-top: 4px solid #FF0004 !important;
    box-sizing: border-box;
  }

  .inner-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
  }

  .video-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
  }

  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    aspect-ratio: 16 / 9;
  }

  .message {
    width: 98%;
    margin: 0 auto;
    display: block;
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    line-height: 1.4;
    border: 1px solid black;
    background-color: #e0f7ff;
    font-size: 0.8rem;
  }

  .text-column {
    width: 100%;
    line-height: 1.6;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.4rem;
  }

  .name {
    width: 95%;
    margin: 0 auto;
    text-align: right;
  }
}


.btnB {
  display: inline-block;
  min-width: 180px;
  background: #005;
  color: #fff;
  margin-top: 26px;
  position: relative;
  border-radius: 24px;
  vertical-align: bottom;
  font-weight: bold;
  text-decoration: none !important;
  width: 370px;
  line-height: 1.6;
  min-height: 10px;
  font-size: clamp(12px, 5vw, 30px);
  padding: 1em;
}

.btnB:hover {
  background-color: red;       /* 触れたときだけ赤 */
  border-color: red !important;
}

.btn_post-1 {
  	display: inline-block;
    width: clamp(250px, 60vw, 400px);
    background: #005;
    color: #fff;
    font-size: clamp(14px, 2vw, 22px);
    padding: .8em 1.3em;
    margin: auto;
    position: relative;
    vertical-align: bottom;
    border: #005 solid 1px;
    border-radius: 24px;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

.btn_post-1:hover {
  background-color: red;       /* 触れたときだけ赤 */
  color: #fff;
  border-color: red !important;
}