@charset "utf-8";
/* CSS Document */

/*----------------------------------------------------------- イベントボタン用 */

.btnReserve {
    max-width: 300px;
    margin: 2% auto;
}

.btnReserve a,
.btnReserve a:link,
.btnReserve a:visited {
    display: block;
    padding: 20px;
    background: #0d7f6c;
    color: #fff;
}


/*----------------------------------------------------------- 404エラー用 */
#error404 {}
#error404 p {text-align: left;}
#error404 a {text-decoration: underline; font-weight: 600;}


/*----------------------------------------------------------- 予約フォーム用 */
#reserve * {
  box-sizing: border-box;
}
#reserve td a {
  font-size: 80%;
}
#reserve .calendar-time-mark .time-string {
  display: block;
  padding: 10px 5px 5px;
}
#reserve table td {
  padding: 0 0 10px;
  text-align: center;
  line-height: 1.6em;
}
#reserve td.day-box {
  position: relative;
  text-align: center;
  vertical-align: top; /* 上部配置に必要 */
  height: 100px; /* 高さは適宜調整 */
}
#reserve .calendar-caption {
  padding: 20px;
  font-weight: 700;
}
#reserve .week-title {
  padding: 10px;
  background: #666;
  color: #fff;
  font-size: 90%;
  border-right: 1px solid #fff;
}
#reserve .week-title:nth-last-of-type(1) {
  border-right: 1px solid #666;
}
#reserve .week-title.sun {
  color: #ec8876;
}
#reserve .week-title.sat {
  color: #b9c7f2;
}
#reserve .day-number {
  padding: 5px 0;
  background: #f0eeee;
  font-size: 80%;
  border-bottom: 1px dotted #999;
  position: relative;
  z-index: 1;
}
#reserve .day-box.no-day {
  background-color: inherit;
}
#reserve .calendar-time-disable {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9em;
  color: #999;
  font-size: 100%;
  z-index: 0;
}
#reserve .timetable-calendar {}
#reserve table {
  width: 100%;
}
#reserve .monthly-prev-next {
  font-size: 90%;
  width: 100%;
  padding: 1% 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#reserve .monthly-prev, #reserve .monthly-next {
  float: inherit;
  padding: 10px;
}
#reserve .monthly-prev a, #reserve .monthly-next a {
  display: block;
  background: #6f7b7b;
  padding: 10px;
  white-space: nowrap;
  width: 100%;
  color: #fff;
  border-radius: 8px;
}
#reserve .day-box.today {
  background-color: inherit;
}
#reserve td.day-box {
  position: relative;
  text-align: center;
  vertical-align: top; /* 上部配置に必要 */
  height: 100px; /* 高さは適宜調整 */
}
/*----------------------------------------------------------- お客様の声・あとで移動 */
#voices h3 {
  padding: 10px 0;
  font-weight: 500;
  font-size: 110%;
  line-height: 1.6em;
  letter-spacing: 1px;
  text-align: center;
  border-bottom: none;
}
/*----------------------------------------------------------- 現場見学会・あとで移動 */
table.t_item {
  margin: 0 0 3%;
}
table.t_item .title_item {
  padding: 2%;
  background: antiquewhite;
}
table.t_item th {
  width: 20%;
  vertical-align: middle;
  background: #faebd7;
}
table.t_item td {
  width: 60%;
  text-align: left;
}
/*----------------------------------------------------------- 一覧リスト */
#thumbBox ul {
  display: flex;
  padding: 40px 0;
  flex-wrap: wrap;
  justify-content: center;
}
#thumbBox ul li {
  width: calc(100% / 4 - 20px);
  margin: 0 5px 30px;
  padding: 0;
}
#thumbBox ul li .date {
    font-size: 80%;
    padding: 10px 10px 0;
    text-align: left;
}
#thumbBox ul li h3 {
    font-size: 100%;
    text-align: left;
    line-height: 1.4em;
    border: none;
    letter-spacing: 1px;
    padding: 10px 10px 10%;
}
#thumbBox ul li .image {
  overflow: hidden;
  width: 100%;
  height: 240px;
  position: relative;
}
#thumbBox ul li .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 0.3s;
}
#thumbBox ul li .bg {
  display: none;
}
#thumbBox ul li.off {
  position: relative;
}
#thumbBox ul li.off .bg {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #CCC;
  z-index: 50;
  mix-blend-mode: multiply;
}

.catName {
  padding: 10px;
  background: #3e4b478c;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}


#catReportList li {
    width: calc(100% / 3 - 20px);
    margin: 0 5px 30px;
    padding: 0;
    border: 1px solid #bbb;
}
#catReportList li .repName {
    padding: 10px 10px;
    text-align: right;
    font-size: 80%;
    border-top: 1px dotted #cdcaca;
    background: #f5f6f7;
}


/*----------------------------------------------------------- 一覧のナビゲーション */
section.navi {
  padding: 2% 0;
}
section.navi ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
section.navi ul li {
  margin: 0 1px 5px;
  padding: 0;
}
section.navi ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  background: #666;
  color: #fff;
  font-size: 80%;
}
/*----------------------------------------------------------- 2カラム */
#columnBox {
  display: flex;
  max-width: 1200px;
  margin: auto;
}
#article #contentsBox {
  padding: 0 3% 0 0;
  min-width: 900px;
}
#article h2 {
  text-align: left;
  padding: 0 0 10px;
  line-height: 1.4em;
  letter-spacing: 1px;
}
#article #contentsBox p {
  text-align: left;
}
#article p.date {
  font-size: 80%;
  text-align: left;
}
#article img {
  display: block;
  padding: 3% 0;
}
#pnkz {
  padding: 2% 0;
  text-align: left;
  font-size: 80%;
  max-width: 1200px;
  margin: auto;
  line-height: 1.4em;
}
#pnkz ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/*----------------------------------------------------------- サイドメニュー */
#sideMenu {
  border-left: 1px solid #d5dbdd;
  padding: 20px;
}
#sideMenu h2 {
  font-size: 120%;
  padding: 0 0 10px;
  text-align: left;
}
#sideMenu ul {
padding: 0 0 10%;
}

#sideMenu ul li {
  padding: 10px 0 10px;
  border-bottom: 1px dashed #ccc;
  display: flex;
}
#sideMenu ul li a {
  display: flex;
  text-align: left;
  font-size: 80%;
  line-height: 1.4em;
}
#sideMenu ul li .image {
  width: 100px;
  margin: 0 5px 0 0;
  height: 80px;
}
#sideMenu ul li .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 0.3s;
}
#sideMenu ul li a:hover img {
  transform: scale(1.1); /*拡大*/
  transition-duratiosn: 0.3s; /*動く時間(なめらかになる)*/
  opacity: 0.5; /*半透明になる*/
}
#sideMenu ul li p {
  text-align: left;
  line-height: 1.4em;
  font-size: 90%;
  display: flex;
  width: 140px;
  align-items: center;
}
#sideMenu .widget_categories {
  padding: 0 0 10%;
}
/*----------------------------------------------------------- 施工事例 */
#exBox {}
#exBox ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#exBox ul li {
  width: calc(100% / 4);
}
#exBox h3 {
  font-size: 90%;
  letter-spacing: 1px;
  border: none;
  padding: 0;
  margin: 0;
}
#exBox .image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
#exBox img {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: cover;
}
#exBox .areaName {
  position: absolute;
  bottom: 0;
  background: #00000094;
  width: 100%;
  color: #fff;
  display: flex;
  padding: 8px 8px;
  font-size: 90%;
  justify-content: flex-start;
}
#exBox .exNum {
  padding: 5px 0 0;
  font-size: 70%;
  text-align: left;
}
/*----------------------------------------------------------- 施工レポート */
#reBox {}
#reBox ul {
  display: flex;
  flex-wrap: wrap;
}
#reBox ul li {
  background: #f9f9f9;
  border: 1px solid #bbb;
  margin: 10px;
  width: calc(100% / 2 - 20px);
  padding: 0;
}
#reBox ul li a {
  display: flex;
}
#reBox h3 {
  font-size: 100%;
  letter-spacing: 1px;
  padding: 0 10px;
  border: none;
  display: flex;
  align-items: center;
}
#reBox .image {
  width: 150px;
  height: 150px;
  overflow: hidden;
}
#reBox .image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* トリミング表示のポイント */
}
/*----------------------------------------------------------- カテゴリー */
span.cat {
  font-family: 'Marcellus';
  color: #fff;
  font-weight: 400;
  text-align: center;
  padding: 10px;
  width: 170px;
  display: inline-block;
  margin: 0 10px 0 0;
}
span.date {
  font-size: 90%;
  font-weight: 500;
}
#col01 {
  background: #cc9999;
}
#col02 {
  background: #5d502e;
}
#col03 {
  background: #6d6d44;
}
/*----------------------------------------------------------- 動画 */
video {
  width: 100%;
}
.video-wrap {
  position: relative;
}
.ytBox-wrap {
  max-width: 900px;
  margin: auto;
}
.ytBox {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border: 1px solid #666;
}
.ytBox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/*----------------------------------------------------------- photoName */
.phCap {
  position: relative;
}
.phCap .name {
  position: absolute;
  /* background: #222; */
  /* background: linear-gradient(0deg, rgba(34,34,34,1) 0%, rgba(34,34,34,0) 100%); */
  color: #fff;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  bottom: 0;
  text-align: right;
  font-size: 70%;
  text-shadow: 1px 1px 2px #666;
}
.phCap .nameBK {
  position: absolute;
  color: #222;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  bottom: 0;
  text-align: right;
  font-size: 70%;
}
.phCap .nameW {
  position: absolute;
  color: #fff;
  /* color: #222; */
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  bottom: 0;
  text-align: right;
  font-size: 70%;
}
.phCap .nameEN {
  position: absolute;
  color: #222;
  padding: 10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-sizing: border-box;
  top: -5px;
  right: -3px;
  text-align: center;
  font-size: 100%;
  line-height: 1.4em;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 5px 15px -5px #777777;
}
/*----------------------------------------------------------- captionBox */
.captionBox {
  padding: 10px;
}
.captionBox p {
  font-size: 80%;
  text-align: left;
  padding: 0;
}
/*----------------------------------------------------------- attentionBox */
.attention {
  max-width: 1240px;
  margin: auto;
  padding: 10px 0;
  display: flex;
  justify-content: flex-end;
}
.attentionBox {
  max-width: 1240px;
  margin: auto;
  padding: 10px 0;
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid #d1cfcf;
}
.attention p, .attentionBox p {
  font-size: 70%;
  color: #999;
  text-align: left;
}
.cap {
  font-size: 70%;
}
@media screen and (max-width: 768px) {
  .attention p, .attentionBox p {
    font-size: 70%;
    color: #999;
    text-align: left;
  }
}
/*----------------------------------------------------------- .detailBox */
.detailBox, .leftBox, .rightBox {
  box-sizing: border-box;
}
/*----------------------------------------------------------- pageTop */
.pTop {
  display: none;
  position: fixed;
  bottom: 65px;
  right: 16px;
  z-index: 1000;
}
.pTop a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  /* border: solid 2px #FFF; */
  background: rgba(0, 0, 0, 0.55);
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
  transition: all 0.5s;
}
.pTop a:hover {
  background: rgba(0, 0, 0, 0.2);
}
.pTop a::after {
  content: "";
  background-color: #ffffff;
  position: absolute;
  top: 18px;
  left: 8px;
  width: 15px;
  height: 2px;
  transform: rotate(-45deg);
}
.pTop a::before {
  content: "";
  background-color: #ffffff;
  position: absolute;
  top: 18px;
  right: 8px;
  width: 15px;
  height: 2px;
  transform: rotate(45deg);
}
/*----------------------------------------------------------- sectionmain */
main section {
  padding: 3% 0;
}
main section:nth-last-of-type(1) {
  padding: 3% 0 8%;
}
main img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
main h2 {
  padding: 10px 0;
  font-weight: 500;
  font-size: 180%;
  line-height: 1.6em;
  letter-spacing: 4px;
}
main h2 small {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  display: block;
  font-size: 60%;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 5px 0 0;
}
main h2 strong {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 130%;
  letter-spacing: 3px;
}
main .contentsDetail h2 {
  padding: 10px 0 5%;
}
main h3 {
  padding: 10px 0;
  font-weight: 500;
  font-size: 150%;
  line-height: 1.6em;
  letter-spacing: 3px;
  text-align: left;
  border-bottom: 1px solid #666;
}
main h4 {
  font-size: 140%;
  font-weight: 500;
  padding: 10px 0;
  line-height: 1.6em;
  letter-spacing: 2px;
  text-align: left;
}
main h4 strong {
  font-size: 160%;
  font-weight: 400;
}
main h5 {
  font-size: 120%;
  font-weight: 500;
  padding: 10px 0;
  line-height: 1.6em;
  text-align: left;
}
main h3 small, main h4 small, main h5 small, main h6 small {
  font-size: 80%;
  line-height: 1.6em;
}
main .flexBox1:last-child, main .flexBox2:last-child, main .flexBox3:last-child, main .flexBox4:last-child {
  padding: 0;
}
main .flexBox1, main .flexBox2, main .flexBox3, main .flexBox4 {
  padding: 0 0 10px;
}
main .flexBox2 > ul, main .flexBox3 > ul, main .flexBox4 > ul {
  display: flex;
}
main .flexBox4 > ul {
  flex-wrap: wrap;
}
main .flexBox2 > ul > li, main .flexBox3 > ul > li, main .flexBox4 > ul > li {
  list-style-type: none;
  text-align: center;
}
main .flexBox2 > ul > li:last-child, main .flexBox3 > ul > li:last-child, main .flexBox4 > ul > li:last-child {
  margin: 0;
}
main .flexBox2 > ul > li {
  width: calc(100% / 2);
}
main .flexBox3 > ul > li {
  width: calc(100% / 3);
}
main .flexBox4 > ul > li {
  width: calc(100% / 4);
}
.block {
  padding: 3% 0;
}
.detailBox {
  display: flex;
  padding: 40px 0;
}
.detailBox .detail {
  padding: 30px;
}
main .detailBox {
  padding: 20px 0;
}
main .leftBox {
  width: 500px;
  flex-shrink: 0;
}
main .rightBox {
  width: calc(100% - 500px);
  padding-left: 2%;
}
/* leftBoxが空のとき、rightBoxを100%にする */
main .leftBox:empty + .rightBox {
  width: 100%;
  padding-left: 0;
}
/* leftBoxが空のとき、leftBoxの幅を自動にする */
main .leftBox:empty {
  width: auto;
}
/* .leftBoxが空のとき、.detailBoxのpaddingを変更 */
main .detailBox:has(.leftBox:empty) {
  padding: 20px 0 50px;
}
main .rightBox h4 {
  padding: 10px 0 20px;
  border-bottom: 1px dotted #666;
  display: flex;
  align-items: center;
}
main .rightBox h4 span {
  color: #107c17;
}
main .rightBox p {
  text-align: left;
  padding: 0 0 15px;
}
/* tableなどの横スクロールボックス */
.scrollBox table {
  width: 100%;
}
.scrollBox {
  overflow: auto;
  white-space: nowrap;
}
.scrollBox::-webkit-scrollbar {
  height: 5px;
}
.scrollBox::-webkit-scrollbar-track {
  background: #F1F1F1;
}
.scrollBox::-webkit-scrollbar-thumb {
  background: #BCBCBC;
}
.contentsTop {
  padding: 30px 0;
}
.contentsTop p {
  font-size: 18px;
  padding: 20px;
  text-align: center;
}
.attention {
  font-size: 70%;
  color: #666666;
  line-height: 1.4em;
}
.attention_info {
  font-size: 85%;
  /*  color: #ffffff;*/
  line-height: 1.6em;
  padding-bottom: 2em;
}
.imgBox {
  padding: 50px 0;
}
.imgBox img {
  max-width: 100%;
}
main .bnrBox ul {
  margin: auto;
}
main .bnrBox ul li {
  list-style-type: none;
  text-align: center;
  background: #265280;
  padding: 0;
}
main dl {
  display: flex;
}
main dl dt, main dl dd {
  padding: 15px;
  text-align: left;
  font-size: 100%;
  line-height: 1.6em;
  border-bottom: 1px solid #666;
}
main dl dt {
  width: 25%;
  display: flex;
  justify-content: left;
  align-items: center;
  font-weight: 700;
}
main dl dd {
  width: 70%;
}
main p {
  padding: 15px 0;
  line-height: 1.8em;
  font-size: 16px;
  font-weight: 400;
  text-indent: 0;
}
main .block p {
  text-align: left;
}
main em {
  font-style: normal;
}
.contents ul li {
  list-style-position: inside;
  padding: 5px 5px 10px;
  text-align: left;
}
.contents main ol {
  padding: 15px;
  text-align: left;
}
.contents ol li {
  list-style-position: inside;
  padding: 10px 0;
}
main .centerImage {
  margin: auto;
  text-align: center;
}
main a, main a:link, main a:visited {
  color: #222;
  text-decoration: none;
  word-break: break-all;
}
main table, main tr, main td {
  border-collapse: collapse;
  border: 1px solid #999;
}
main table td {
  padding: 10px;
  text-align: center;
  width: 20%;
  line-height: 1.6em;
}
main .sliderdef {
  width: 500px;
  padding: 0 0 10px;
}
main .indexList {
  padding: 20px;
  background: #e4e6ed;
}
main .indexList li {
  color: #265280;
  font-weight: 600;
  font-size: 110%;
  line-height: 1.4em;
}
main .indexList li a {
  font-weight: 600;
}
#pageTitle {
  padding: 0;
}
/*----------------------------------------------------------- 冒頭テキスト */
.firstText {
  font-size: 16px;
  line-height: 2em;
}
/*----------------------------------------------------------- ページナビ */
.pageNavi {
  padding: 0 0 3%;
  text-align: center;
}
.pageNavi ul {
  display: flex;
  justify-content: space-between;
  border-top: 2px dotted #a9998e;
}
.pageNavi ul li {
  list-style-type: none;
  width: 50%;
}
.pageNavi ul li:first-child {
  text-align: left;
}
.pageNavi ul li:last-child {
  text-align: right;
}
.pageNavi ul li:first-child a::before {
  content: "< ";
}
.pageNavi ul li:last-child a::after {
  content: " >";
}
.pageNavi ul li a {
  display: block;
  padding: 2vmin;
}
.entry-content {
  padding: 0;
}
/*----------------------------------------------------------- 一覧ボタン */
.pageBtnBox {
  padding: 20px;
  display: flex;
  justify-content: center;
}
.pageBtnBox p {
  font-size: 20px;
  padding: 0 0 2vmin;
}
main .pageBtnBox a {
  text-align: center;
  display: block;
  background: #8d875e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 200;
  padding: 10px 10px 13px;
  /* border: 1px solid #bbbdbc; */
  width: 360px;
  box-shadow: 2px 2px 2px 1px rgb(110 110 110 / 20%);
  cursor: pointer;
  letter-spacing: 3px;
  border-radius: 5px;
}
.pageBtnBox a span {
  color: #fff;
}
.pageBtnBox a span::after {
  content: '';
  display: inline-block;
  margin: 0 0 0 1vmin;
  width: 40px;
  height: 24px;
  background-image: url(/wp-content/themes/original-child/assets/img/ar_white.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: -13px;
}
#thumbList {
  width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
#thumbList .thumbItem {
  flex: 0 1 18.75%;
  box-sizing: border-box;
  position: relative;
  margin: 1vmin 5px 1vmin;
  list-style: none;
}
.thumbItem:after {
  content: "";
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: 0.3s opacity linear;
}
.thumbItem.thumbnail-current:after {
  opacity: 0;
}
.thumbItem img {
  width: 100%;
  margin: 0 auto;
  height: 100px; /*任意の高さを指定*/
  object-fit: contain;
}
/*----------------------------------------------------------- アコーディオン */
.accContainer .accTitle {
  color: #fff;
  background: #bcd6d5;
  cursor: pointer;
  text-align: left;
  font-size: 110%;
  padding: 1%;
}
.accContainer .accTitle:hover, .accContainer .accTitle:active, .accContainer .content-entry.open .accTitle {
  opacity: 0.8;
  color: white;
}
.accContainer .accTitle:hover i:before, .accContainer .accTitle:hover i:active, .accContainer .content-entry.open i {
  color: white;
}
.accTitle {
  position: relative;
}
.accTitle:after {
  content: "";
  position: absolute;
  right: 25px;
  top: 38%;
  transition: all 0.2s ease-in-out;
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.accTitle.open:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 45%;
}
.accordion-content {
  display: none;
}
.accordion-content p {
  text-align: left;
}
/*----------------------------------------------------------- ページナビ */
#pageNavi {
  padding: 4% 0 2%;
}
.wp-pagenavi {
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-pagenavi a { /* フォント色 */
  color: #4a4a4a;
}
.pages { /* 左の表記 */
  margin-right: 20px;
}
article .wp-pagenavi a, article .wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #BFBFBF;
  padding: 10px;
  margin: 1px;
}
.wp-pagenavi .pages {}
.wp-pagenavi .current {
  border: none;
  background: #265280;
  color: #fff;
}
.wp-pagenavi a.page:hover { /* マウスオーバー */
  background: #87e6e9;
  color: #fff;
}
.wp-pagenavi .first, .wp-pagenavi .extend { /* ... */
  margin-right: 10px;
}
.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink { /* 記号の削除 */
  display: none;
}
/*----------------------------------------------------------- 1380px */
@media all and (max-width:1380px) {
  main .contentsDetail {
    box-sizing: border-box;
  }
  main ul li {
    line-height: 2em;
  }
  .attentionBox {
    padding: 10px;
  }
  ul.menuFooter {
    flex-wrap: wrap;
  }
  #columnBox {
    flex-flow: column;
  }
  #sideMenu {
    border-left: none;
    padding: 20px 10px;
  }
}
/*----------------------------------------------------------- 1280px */
@media screen and (max-width: 1280px) {
  #pnkz {
    padding: 2%;
  }
#article #contentsBox {
    padding: 0 2% 0;
    min-width: auto;
}
}
/*----------------------------------------------------------- 1024px */
@media screen and (max-width: 1024px) {
  main h2 {
    font-size: 140%;
  }
  main h3 {
    font-size: 120%;
  }
  main h4 {
    font-size: 110%;
  }
  main p {
    line-height: 1.6em;
  }
  main table th {
    font-size: 90%;
  }
  main table td {
    font-size: 90%;
  }
  .flexBox4 ul li {
    width: calc(100% / 2);
  }
  .detailBox {
    display: flex;
    flex-flow: column;
  }
  main .leftBox {
    width: auto;
    flex-shrink: 0;
    padding: 0 0 2%;
  }
  main .rightBox {
    width: auto;
    padding: 0 0 2%;
  }
  #thumbBox ul li {
    width: calc(100% / 2 - 20px);
  }
}
/*----------------------------------------------------------- 768px */
@media screen and (max-width: 768px) {
  main p {
    text-align: left;
    line-height: 1.6em;
  }
  main h2 {
    font-size: 140%;
  }
  main h3 {
    font-size: 120%;
    letter-spacing: 1px;
  }
  main h4 {
    font-size: 100%;
    padding: 0;
  }
  main h4 strong {
    font-size: 140%;
  }
  main .flexBox2 > ul, main .flexBox3 > ul {
    flex-flow: column;
  }
  main .flexBox4 > ul {
    flex-wrap: wrap;
  }
  main .flexBox2 > ul li, main .flexBox3 > ul li {
    width: 100%;
  }
  main .flexBox4 > ul li {
    width: calc(100% / 2);
    padding: 2%;
  }
  main .flexBox2 > ul li img, main .flexBox3 > ul li img, main .flexBox4 > ul li img {
    width: 100%;
  }
  main table th, main table td {
    font-size: 80%;
  }
  #reBox ul li {
    width: 100%;
  }
  #exBox ul li {
    width: 100%;
  }
#pnkz ul {
    display: flex;
    overflow-x: scroll;
    word-break: keep-all;
    white-space: nowrap;
}
#pnkz ul::-webkit-scrollbar {
    display: none;
  }

}
/*----------------------------------------------------------- 640px */
@media screen and (max-width: 640px) {
  #pageTitle h1 {
    font-size: 120%;
    padding: 20px 20px;
    line-height: 1.4em;
  }
  .contentsDetail > p {
    padding: 10px;
  }
  main h2 {
    font-size: 110%;
    padding: 15px 0 10px;
  }
  main h2 small {
    font-size: 80%;
    padding: 5px 0 10px;
  }
  main h3 {
    font-size: 100%;
    padding: 0 0 15px;
    letter-spacing: 1px;
  }
  main h4 {
    font-size: 100%;
  }
  main h5 {
    font-size: 90%;
  }
  main p {
    font-size: 90%;
    text-align: left;
  }
  main dl dt, main dl dd {
    padding: 8px;
  }
  main dl dt {
    width: auto;
  }
  main dl dd {
    width: auto;
  }
  .pageNavi ul li {
    padding: 0;
    list-style-type: none;
  }
  .pageNavi ul li a {
    font-size: 14px;
    line-height: 2em;
  }
  main .flexBox1, main .flexBox2, main .flexBox3, main .flexBox4 {}
  main .flexBox1 ul, main .flexBox2 ul, main .flexBox3 ul, main .flexBox4 ul {
    display: block;
  }
  main .flexBox2 ul li, main .flexBox3 ul li, main .flexBox4 ul li {
    width: auto;
    font-size: 16px;
    padding: 10px;
    line-height: 1.6em;
    text-indent: initial;
  }
  .contentsTop {
    padding: 0px;
  }
  .btnBox02 {
    margin: 0 20px;
  }
  .imgBox {
    padding: 0 0 30px;
  }
  main dl {
    flex-flow: column;
  }
}