@charset "utf-8";

/*
  File Name   : module.css
  Description : 共通のスタイル
*/

/* default
============================================================ */
.def-editor-style-wrap {
  width: 960px;
  margin: 0 auto;
  font-size: 16px;
  color: #111;
}

.def-editor-style-wrap h1,
.def-editor-style-wrap h2,
.def-editor-style-wrap h3,
.def-editor-style-wrap h4,
.def-editor-style-wrap h5,
.def-editor-style-wrap h6 {
  line-height: 1.4em;
  margin: 25px 0 15px;
}

.def-editor-style-wrap * {
  background-position: initial;
}

.def-editor-style-wrap h1 {
  font-size: 34px;
}

.def-editor-style-wrap h2 {
  font-size: 24px;
}

.def-editor-style-wrap h3 {
  font-size: 20px;
}

.def-editor-style-wrap h4 {
  font-size: 18px;
}

.def-editor-style-wrap h5 {
  font-size: 16px;
}

.def-editor-style-wrap h6 {
  font-size: 14px;
}

.def-editor-style-wrap p {
  /* margin: 5px 0 25px; */
}

.def-editor-style-wrap ol,
.def-editor-style-wrap ul {
  margin-left: 15px;
  list-style-position: outside;
  margin-bottom: 20px;
}

.def-editor-style-wrap ol li,
.def-editor-style-wrap ul li {
  margin-left: 10px;
  margin-bottom: 5px;
}

.def-editor-style-wrap ul li {
  /* list-style-type: disc; */
}

.def-editor-style-wrap ol li {
  list-style-type: decimal;
}

.def-editor-style-wrap a[href] {
  text-decoration: underline;
}

.def-editor-style-wrap a[href]:hover {
  text-decoration: none;
}

.def-editor-style-wrap table {
  width: 100%;
  border-spacing: 0;
  margin: 0 0 15px;
}

.def-editor-style-wrap table caption,
.def-editor-style-wrap table td,
.def-editor-style-wrap table th {
  padding: 15px 7px;
}

.def-editor-style-wrap table th {
  font-weight: 400;
  color: #6e6e6e;
  background-position: 100% 100%;
  background-size: 2px 10px;
  background-repeat: no-repeat;
}

.def-editor-style-wrap table th,
.def-editor-style-wrap table td {
  border: 1px solid #aaa;
  border-collapse: collapse;
}

.def-editor-style-wrap table tr:nth-child(even) {
  background: #fafafa;
}

.def-editor-style-wrap table th:last-child {
  background: none;
}

.def-editor-style-wrap hr {
  border-top: 2px solid #bbb;
}

.def-editor-style-wrap img {
  max-width: 100%;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

.def-editor-style-wrap figure.align-left {
  float: left;
}

.def-editor-style-wrap figure.align-right {
  float: right;
}

.def-editor-style-wrap figure.image.align-center {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.def-editor-style-wrap figure.image {
  display: inline-block;
  border: 1px solid gray;
  margin: 0 2px 0 1px;
  background: #f5f2f0;
}

.def-editor-style-wrap figure.image figcaption {
  margin: 6px 8px 6px 8px;
  text-align: center;
}

.def-editor-style-wrap td[data-mce-selected],
.def-editor-style-wrap th[data-mce-selected] {
  background-color: #2276d2;
}

.def-editor-style-wrap iframe {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

.def-editor-style-wrap .ephox-snooker-resizer-bar {
  background-color: #2276d2;
  opacity: 0;
}

.def-editor-style-wrap .ephox-snooker-resizer-cols {
  cursor: col-resize;
}

.def-editor-style-wrap .ephox-snooker-resizer-rows {
  cursor: row-resize;
}

.def-editor-style-wrap .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
  opacity: .2;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .def-editor-style-wrap {
    width: 100%;
    font-size: 14px;
  }

  .def-editor-style-wrap h1,
  .def-editor-style-wrap h2,
  .def-editor-style-wrap h3,
  .def-editor-style-wrap h4,
  .def-editor-style-wrap h5,
  .def-editor-style-wrap h6 {
    margin: 20px 0 10px;
  }

  .def-editor-style-wrap h1 {
    font-size: 30px;
  }

  .def-editor-style-wrap h2 {
    font-size: 20px;
  }

  .def-editor-style-wrap h3 {
    font-size: 16px;
  }

  .def-editor-style-wrap h4 {
    font-size: 14px;
  }

  .def-editor-style-wrap h5 {
    font-size: 12px;
  }

  .def-editor-style-wrap h6 {
    font-size: 10px;
  }

  .def-editor-style-wrap p {
    /* margin: 5px 0 20px; */
  }

  .def-editor-style-wrap ol,
  .def-editor-style-wrap ul {
    margin-bottom: 15px;
  }

  .def-editor-style-wrap table {
    margin: 0 0 10px;
  }

  .def-editor-style-wrap table caption,
  .def-editor-style-wrap table td,
  .def-editor-style-wrap table th {
    padding: 10px 2px;
  }

  .def-editor-style-wrap figure.image figcaption {
    margin: 4px 6px 4px 6px;
  }

  .def-editor-style-wrap iframe {
    width: 100%;
    height: auto;
    min-height: 220px;
  }
}

/* layout
============================================================ */
/*** clearfix ***/
.def-editor-style-wrap .mod-clearfix:before,
.def-editor-style-wrap .mod-clearfix:after {
  content: " ";
  display: table;
}

.def-editor-style-wrap .mod-clearfix:after {
  clear: both;
}

/*** panel layout ***/
.def-editor-style-wrap .mod-panel-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  width: auto;
}

.def-editor-style-wrap .mod-panel-layout .panel-layout-child,
.def-editor-style-wrap .mod-panel-layout > article,
.def-editor-style-wrap .mod-panel-layout > figure,
.def-editor-style-wrap .mod-panel-layout > li,
.def-editor-style-wrap .mod-panel-layout > div,
.def-editor-style-wrap .mod-panel-layout > p,
.def-editor-style-wrap .mod-panel-layout > section {
  flex: 0 0 100%;
  /* overflow: hidden; */
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.def-editor-style-wrap .edt-col2 .mod-panel-layout,
.def-editor-style-wrap .edt-col3 .mod-panel-layout {
  margin: 0 -1.825%;
}

.def-editor-style-wrap .edt-col2 .mod-panel-layout .panel-layout-child,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > article,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > figure,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > li,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > div,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > p,
.def-editor-style-wrap .edt-col2 .mod-panel-layout > section {
  flex: 0 0 47.25%;
  max-width: 47.25%;
  margin: 0 .9125%;
}

.def-editor-style-wrap .edt-col3 .mod-panel-layout .panel-layout-child,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > article,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > figure,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > li,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > div,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > p,
.def-editor-style-wrap .edt-col3 .mod-panel-layout > section {
  flex: 0 0 30.9%;
  max-width: 30.9%;
  margin: 0 .9125%;
}

/*** btn ***/
.def-editor-style-wrap a.mod-btn {
  display: inline-block;
  min-width: 200px;
  padding: 10px 15px;
  background: #333;
  border: 2px solid #333;
  border-radius: 5px;
  color: #fff;
  /* height: 54px; */
  font-weight: bold;
  position: relative;
  transition: .3s ease-in-out;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

.def-editor-style-wrap a.mod-btn:hover {
  background: #6fa474;
}
.def-editor-style-wrap a.mod-btn:before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  right: 18px;
  transition: .3s ease-in-out;
  transform: translateY(-50%) rotate(45deg);
}



.def-editor-style-wrap a.mod-btn:hover:before {
  border-top: 2px solid #fafafa;
  border-right: 2px solid #fafafa;
}

.def-editor-style-wrap .mod-btn + .file-info {
  margin: 5px 0 0;
}

/*** block ***/
.def-editor-style-wrap .img-block {
  margin-bottom: 20px;
  text-align: center;
}

.def-editor-style-wrap .img-block img {
  margin: 0 auto;
}

.def-editor-style-wrap .text-block {
  margin-bottom: 20px;
}

.def-editor-style-wrap .text-block .title {
  margin: 0 0 10px;
  vertical-align: middle;
}

.def-editor-style-wrap .text-block .title img {
  margin-right: 10px;
  vertical-align: middle;
}

.def-editor-style-wrap .btn-block {
  margin-bottom: 20px;
}

.def-editor-style-wrap .text-block > .btn-block {
  margin-top: 20px;
  text-align: left;
}

.def-editor-style-wrap .img-block + .btn-block {
  text-align: center;
}

/*** L-img-R-text/L-text-R-img ***/
.def-editor-style-wrap .edt-L-img-R-text .img-block,
.def-editor-style-wrap .edt-L-text-R-img .img-block {
  width: 40%;
  float: left;
}

.def-editor-style-wrap .edt-L-img-R-text .img-block img,
.def-editor-style-wrap .edt-L-text-R-img .img-block img {
  margin: 0 auto;
}

.def-editor-style-wrap .edt-L-text-R-img .img-block {
  float: right;
}

.def-editor-style-wrap .edt-L-img-R-text .text-block,
.def-editor-style-wrap .edt-L-text-R-img .text-block {
  width: 60%;
  float: right;
  padding-left: 20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

.def-editor-style-wrap .edt-col3 .edt-L-img-R-text .text-block,
.def-editor-style-wrap .edt-col3 .edt-L-text-R-img .text-block {
  padding-left: 10px;
}

.def-editor-style-wrap .edt-L-text-R-img .text-block {
  float: left;
  padding-left: 0;
  padding-right: 20px;

}

.def-editor-style-wrap .edt-col3 .edt-L-text-R-img .text-block {
  padding-right: 10px;
}

/*** C-img2/C-img3 ***/
.def-editor-style-wrap .edt-C-img2 .img-block,
.def-editor-style-wrap .edt-C-img3 .img-block {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  width: auto;
  margin-right: -1.825%;
  margin-left: -1.825%;
}

.def-editor-style-wrap .edt-C-img2 .img-block > span,
.def-editor-style-wrap .edt-C-img3 .img-block > span {
  flex: 0 0 47.25%;
  overflow: hidden;
  width: auto;
  max-width: 47.25%;
  margin: 0 .9125%;
  padding: 0;
}

.def-editor-style-wrap .edt-C-img3 .img-block > span {
  flex: 0 0 30.9%;
  max-width: 30.9%;
  margin: 0 .9125%;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  /*** panel layout ***/
  .def-editor-style-wrap .edt-col2 .mod-panel-layout,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout {
    margin: 0;
  }

  .def-editor-style-wrap .edt-col2 .mod-panel-layout .panel-layout-child,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > article,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > figure,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > li,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > div,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > p,
  .def-editor-style-wrap .edt-col2 .mod-panel-layout > section,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout .panel-layout-child,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > article,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > figure,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > li,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > div,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > p,
  .def-editor-style-wrap .edt-col3 .mod-panel-layout > section {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
  }

  /*** mod-btn ***/
  .def-editor-style-wrap a.mod-btn {
    height: 45px;
  }

  /*** block ***/
  .def-editor-style-wrap .img-block {
    margin-bottom: 10px;
  }

  .def-editor-style-wrap .img-block img {
    width: 100% !important;
  }

  .def-editor-style-wrap .text-block {
    margin-bottom: 10px;
  }

  .def-editor-style-wrap .text-block .title img {
    margin-right: 10px;
  }

  .def-editor-style-wrap .btn-block {
    margin-bottom: 10px;
    text-align: center;
  }

  .def-editor-style-wrap .text-block > .btn-block {
    margin-top: 10px;
  }

  /*** L-img-R-text/L-text-R-img ***/
  .def-editor-style-wrap .edt-L-img-R-text .img-block,
  .def-editor-style-wrap .edt-L-text-R-img .img-block,
  .def-editor-style-wrap .edt-L-text-R-img .img-block,
  .def-editor-style-wrap .edt-L-img-R-text .text-block,
  .def-editor-style-wrap .edt-L-text-R-img .text-block,
  .def-editor-style-wrap .edt-col3 .edt-L-img-R-text .text-block,
  .def-editor-style-wrap .edt-col3 .edt-L-text-R-img .text-block  {
    width: auto !important;
    float: none;
    padding: 0;
  }
}

/* editor layout */
.edt-L-img-R-text .img-block,
.edt-L-text-R-img .img-block {
  width: 40% !important;
  max-width: 100%;
}
.edt-C-img-text .img-block img,
.edt-L-img-R-text .img-block img,
.edt-L-text-R-img .img-block img {
  max-width: 100%;
}
.edt-L-img-R-text .text-block,
.edt-L-text-R-img .text-block {
  width: 60% !important;
}
/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  /* editor layout */
  .edt-L-img-R-text .img-block,
  .edt-L-text-R-img .img-block {
    width: 100% !important;
  }
  .edt-L-img-R-text .text-block,
  .edt-L-text-R-img .text-block {
    width: 100% !important;
  }
}