@charset "UTF-8";

.wysiwyg  iframe{ max-width: 100%; }
.wysiwyg h1 { background-color: #00479d;;}
.wysiwyg h2 { border-top: 1px solid #00479d; border-bottom: 1px solid  #00479d;}
.wysiwyg h3 { border-left: 6px solid  #00479d;}
.wysiwyg h4 { border-bottom: 1px solid #00479d;}
.wysiwyg h5 { border-bottom: 1px dashed #00479d;}
.wysiwyg h6 { background-color: #eee; border: 1px dotted #00479d;}

.wysiwyg img {
  max-width: 100%;
  width: 100%; 
  max-height: 640px;
  object-fit: contain;
  margin: 24px 0 0;
}

.wysiwyg table tr:nth-child(1) {
  background: #00479d;
  color: #fff;
  text-align: center !important;
  font-weight: 700;
}

.wysiwyg a {
  color: #00479d;
  text-decoration: underline;
}

.wysiwyg p {
  font-weight: 500;
}


/* ========================================
  @media screen and (min-width: 768px),print 
======================================== */
@media screen and (min-width: 768px),print {
.wysiwyg { word-wrap: break-word; margin-bottom: 30px;}
.wysiwyg strong { font-weight: bolder; }
.wysiwyg em { font-family: "ＭＳ ゴシック",sans-serif; font-style: italic; }
.wysiwyg img { max-width: 100% !important; height: auto; }
.wysiwyg p { min-height: 15px; min-width: 10px; line-height: 1.6; margin:0 0 1rem 0;}
.wysiwyg h1, .wysiwyg h2, .wysiwyg h3, .wysiwyg h4, .wysiwyg h5, .wysiwyg h6 {font-weight: bold; text-align: left;}
.wysiwyg h1 { padding: 12px 24px; font-size: 24px; line-height: 1.6; margin: 10px 5px 20px;}
.wysiwyg h2 { padding: 12px; font-size: 22px; line-height: 1.6; margin: 10px 5px 20px;}
.wysiwyg h3 { padding: 5px 20px; font-size: 20px; line-height: 1.6; margin: 10px 5px 20px;}
.wysiwyg h4 { padding: 0 0 10px; font-size: 18px; line-height: 1.6; margin: 10px 5px 20px;}
.wysiwyg h5 { padding: 0 0 10px; font-size: 18px; line-height: 1.6;margin: 10px 5px 20px;}
.wysiwyg h6 { padding: 10px; font-size: 16px; line-height: 1.6; margin: 10px 5px 20px;}
.wysiwyg ul { list-style-type: disc; line-height: 1.6; font-size: 16px; margin: 5px 0 10px 20px}
.wysiwyg ol { list-style-type: decimal; line-height: 1.6; font-size: 16px; margin: 5px 0 10px 20px}
.wysiwyg table{ table-layout: fixed;margin-bottom: 40px;}
.wysiwyg table th,
.wysiwyg table td { border: 1px solid #999; padding: 10px; font-size: 16px; margin: 10px 5px;}
.wysiwyg iframe{ height: 500px !important; width: 800px !important; margin: 0 auto 40px; display: block;}

.wysiwyg .wp-embedded-content{ width: 100% !important; height: 13rem !important; margin: 3rem 0 4rem 0;}
}


@media screen and (min-width:768px) and (max-width:1100px) {
.wysiwyg .wp-embedded-content { width: 100% !important; height: 20vw !important; margin: 3rem 0 4rem 0; }
}

/* ========================================
   @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
.wysiwyg { word-wrap: break-word; margin-bottom: 5vw; font-size: 3.6vw;}
.wysiwyg strong { font-weight: bolder; }
.wysiwyg em { font-family: "ＭＳ ゴシック",sans-serif; font-style: italic; }
.wysiwyg img { max-width: 100% !important; height: auto; }
.wysiwyg p { min-height: 3vw; min-width: 3vw; line-height: 1.8;margin-bottom: 5vw;}
.wysiwyg h1, .wysiwyg h2, .wysiwyg h3, .wysiwyg h4, .wysiwyg h5, .wysiwyg h6 { color: #333; font-weight: bold; text-align: left;}
.wysiwyg h1 { padding: 3vw; font-size: 4.2vw; line-height: 1.6; margin: 0.2vw 0 4.2vw;}
.wysiwyg h2 { padding: 3vw; font-size: 4.2vw; line-height: 1.6; margin: 0.2vw 0 4.2vw;}
.wysiwyg h3 {font-size: 4.2vw;line-height: 1.6;padding: 1vw 2vw;margin: 0.2vw 0 4.2vw;}
.wysiwyg h4 { padding: 0 0 3vw; font-size: 4vw; line-height: 1.6; margin: 0.2vw 0 4.2vw;}
.wysiwyg h5 { padding: 0 0 3vw; font-size: 3.6vw; line-height: 1.6; margin: 0.2vw 0 4.2vw;}
.wysiwyg h6 { padding: 3vw; font-size: 3.6vw; line-height: 1.6; margin: 0.2vw 0 4.2vw;}
.wysiwyg ul { list-style-type: disc; line-height: 1.6; margin: 0.2vw 0 4.2vw 4vw}
.wysiwyg ol { list-style-type: decimal; line-height: 1.6; font-size: 3.6vw; margin: 0.2vw 0 4.2vw 8vw}
.wysiwyg table {width: 100% !important;/* table-layout: fixed; */}
.wysiwyg table th,
.wysiwyg table td { border: 0.2vw solid #999; padding: 3vw; font-size: 3.6vw; margin: 0.2vw 0 4.2vw 8vw}
.wysiwyg iframe{ height: 50vw !important; width: 100% !important; margin-bottom: 4vw!important; }

.wysiwyg .wp-block-table { max-width: 100%; white-space: nowrap;}
.wp-block-table .has-fixed-layout {table-layout: auto !important;margin-bottom: 10vw;}
.wysiwyg .wp-embedded-content{width: 100% !important; height: 46vw !important; margin: 0rem 0 0rem 0;}

}