/*
Theme Name: NANO Child
Theme URI: https://tcd-theme.com/tcd065
Description: WordPressテーマ「NANO」Child Theme.
Author: ESTH Team
Author URI: https://tcd-theme.com/
Template: nano_tcd065
Version: 1.20
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tcd-w
*/

/* Sections ========================================================================== */
body {
  font-family: "Libre Franklin", sans-serif !important;
}

/* ========================================================================== Layout ========================================================================== */
.l-header {
  position: absolute;
  z-index: 999;
}

.l-header--fixed.is-active {
  background: #ffffff !important;
}
.l-header__inner {
  height: 85px;
  /* max-width: 1300px !important; */
}

.l-header__form {
  width: 10px;
}

.l-header__form.is-active {
  width: auto;
}

.l-header__form-input {
  width: 170px;
}

.l-header__logo {
  margin-right: 3px;
}

.l-header__search {
  color: #fff;
}

.p-global-nav {
  line-height: 55px;
  width: 98%;
  font-weight: bolder;
}

.p-global-nav > li {
  border: none;
  /* margin-left: -18px;
  width: 150px; */
  width: auto;
}

.p-global-nav > li > a {
  padding: 0px 1rem !important;
  width: fit-content;
  height: 55px;
  display: inline-block;
  line-height: 55px;
  white-space: nowrap;
}

:lang(th).p-global-nav > li > a {
  padding: 0px 10px !important;
}

/* ========== Post-type-archive-news ============ */
.post-type-archive-news .l-header {
  position: relative;
}

.post-type-archive-news .p-global-nav > li > a,
.post-type-archive-news .p-menu-btn {
  color: black;
}

.post-type-archive-news .l-header__desc,
.post-type-archive-news .l-header__search {
  color: #5281ca;
}

.post-type-archive-news .l-page-header {
  position: relative !important;
}

.p-global-nav > li > a:hover,
.p-global-nav > .current-menu-item > a {
  background: #2a4cac;
  color: #fff !important;
}

@media only screen and (max-width: 1280px) and (min-width: 1200px) {
  .l-header__form-input {
    width: 100px;
  }
  .p-global-nav > li > a {
    /* padding: 0 10px !important; */
  }
  .l-inner {
    max-width: 1180px !important;
  }
  .l-header__logo,
  .l-header__desc {
    margin-right: 5px;
  }
  .p-global-nav > li {
    /* width: 130px !important; */
    font-size: 12px; /*Add font size by Am 270921*/
  }
  .l-header__search {
    display: none;
    width: 0px;
  }
}
@media only screen and (min-width: 1200px) {
  .l-header__nav {
    display: block !important;
  }
  .l-header__nav {
    background: rgba(255, 255, 255, 0) !important;
  }
}

@media only screen and (max-width: 1199px) {
  .l-header {
    height: 85px;
    position: relative;
    z-index: 99;
  }
  .l-header__search {
    color: #5281ca !important;
  }
  .l-header__search::after {
    background: #ddd;
    content: "";
    display: inline-block;
    width: 1px;
    height: 20px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
  .l-header__nav {
    background: #ffffff !important;
    top: 85px;
    left: 0px;
  }
}

@media only screen and (max-width: 767px) {
  .l-header__form {
    width: 100% !important;
  }
}

.l-main {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .l-page-header {
    padding-bottom: 0px;
    position: relative !important;
  }
}

@media only screen and (max-width: 1199px) {
  .c-menu-btn {
    color: #5281ca !important;
  }
}

.c-share--sm .c-share__btn {
  margin-right: 5px;
  margin-bottom: 5px;
}

.c-share--lg .c-share__btn {
  margin-right: 1%;
  margin-bottom: 2px;
  width: 24%;
}

@media only screen and (max-width: 767px) {
  .c-share--lg .c-share__btn {
    margin-right: 3%;
    margin-bottom: 3%;
    width: 47%;
  }
}

.c-share--lg .c-share__btn a {
  padding: 10px 2px;
}

.c-share--color .c-share__btn--twitter a {
  background-color: #55acee;
}

.c-share--color .c-share__btn--twitter a:hover {
  background-color: #468ec5;
}

.c-share--mono .c-share__btn--twitter a:hover {
  background-color: #55acee;
}

.c-share__btn a {
  border-radius: 2px;
}

.c-share--official {
  display: inline-block;
}

.c-share--official .c-share__btn {
  float: left;
  margin-bottom: 5px;
}

.p-article01__img {
  margin-bottom: 28px;
}

.p-article01__title {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .p-article01__title {
    margin-bottom: 7px;
  }
  .p-article01__img {
    margin-bottom: 13px;
  }
  .p-article01__title {
    font-size: 16px;
    padding: 0 20px;
  }
}

.p-article02__img {
  margin-right: 20px;
}

.p-article03__img {
  margin-bottom: 10px;
}

.p-article03__title {
  margin-bottom: 21px;
}

@media screen and (max-width: 767px) {
  .p-article04 a {
    display: block;
    height: auto;
    padding: 11px 20px 13px;
    line-height: inherit;
  }
  .p-article04__date {
    font-size: 12px;
    margin-right: 8px;
  }
  .p-article04__title {
    line-height: 1.7;
    margin-top: 7px;
    white-space: normal;
  }
}

.p-article05 {
  margin-bottom: 60px;
}

.p-article05__title {
  font-size: 26px !important;
}

.p-article05__sub {
  font-size: 12px !important;
}

.p-article05__desc {
  font-size: 16px !important;
}

@media screen and (max-width: 767px) {
  .p-article06__title {
    margin: auto;
  }
}

.p-article07__img {
  margin-bottom: 13px;
}

@media screen and (max-width: 768px) {
  .p-article09__img {
    width: 100% !important;
  }
}

.p-company-header {
  margin-bottom: 50px;
}

.p-copyright {
  height: 60px;
}

@media screen and (max-width: 767px) {
  .p-copyright {
    height: 50px;
  }
}

.p-entry__title {
  font-family: "Fira Sans", sans-serif;
}

.p-entry__date {
  color: #999;
  display: block;
  font-size: 12px;
}

.p-entry__share {
  margin-bottom: 45px !important;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .p-entry__share {
    margin-bottom: 25px;
  }
  .p-entry__related-item {
    margin-bottom: 5%;
  }
}

@media screen and (max-width: 767px) {
  .p-footer-nav li {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .p-footer-widgets__inner {
    padding: 40px 32px 0;
  }
}

.p-index-content04 {
  margin-bottom: 100px;
  padding: 100px 0;
  background: none;
}

.p-list__item.is-current > a {
  background: #bebebe;
  color: white;
}

@media screen and (max-width: 767px) {
  .p-list {
    display: none;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .p-menu-btn {
    color: #5281ca;
  }
}

.p-pagetop {
  background: #71c9ff;
  right: 30px;
  bottom: 30px;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  .p-pagetop {
    right: 5px;
  }
}

.p-hover-effect--type1 {
  margin: auto;
}

.p-hover-effect--type1 img {
  height: 372px;
  width: auto;
}

@media screen and (max-width: 767px) {
  .p-hover-effect--type1 {
    width: auto;
    height: auto;
    border-radius: 0;
  }
}

/* WordPress preset style */
/* alignment */
.p-entry__body .alignright {
  float: right;
}

.p-entry__body .alignleft {
  float: left;
}

.p-entry__body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7px;
}

.p-entry__body blockquote.alignleft,
.p-entry__body img.alignleft {
  margin: 7px 24px 7px 0;
}

.p-entry__body .wp-caption.alignleft {
  margin: 7px 14px 7px 0;
}

.p-entry__body blockquote.alignright,
.p-entry__body img.alignright {
  margin: 7px 0 7px 24px;
}

.p-entry__body .wp-caption.alignright {
  margin: 7px 0 7px 14px;
}

.p-entry__body blockquote.aligncenter,
.p-entry__body img.aligncenter,
.p-entry__body .wp-caption.aligncenter {
  margin-top: 7px;
  margin-bottom: 7px;
}

/* text and headline */
.p-entry__body h1,
.p-entry__body h2,
.p-entry__body h3,
.p-entry__body h4,
.p-entry__body h5,
.p-entry__body h6 {
  clear: both;
  line-height: 1.4;
  margin-bottom: 24.2px;
}

.p-entry__body h1 {
  font-size: 150%;
}

.p-entry__body h2 {
  font-size: 140%;
}

.p-entry__body h3 {
  font-size: 130%;
}

.p-entry__body h4 {
  font-size: 120%;
}

.p-entry__body h5 {
  font-size: 110%;
}

.p-entry__body h6 {
  font-size: 100%;
}

/* image */
.p-entry__body img[class*="align"],
.p-entry__body img[class*="wp-image-"],
.p-entry__body img[class*="attachment-"],
.p-entry__body .size-full,
.p-entry__body .size-large,
.p-entry__body .wp-post-image,
.p-entry__body img {
  max-width: 100%;
  height: auto;
}

/* list */
.p-entry__body li,
.p-entry__body dt,
.p-entry__body dd {
  line-height: 2.2;
}

.p-entry__body ul,
.p-entry__body ol,
.p-entry__body dl {
  margin-bottom: 24px;
}

.p-entry__body ol {
  list-style: decimal outside none;
  margin-left: 1.5em;
}

.p-entry__body ul {
  list-style: circle outside none;
  margin-left: 1.3em;
}

.p-entry__body li > ul,
.p-entry__body li > ol {
  margin-bottom: 0;
}

.p-entry__body dt {
  font-weight: bold;
}

.p-entry__body dd {
  margin-bottom: 1em;
}

/* table */
.p-entry__body table {
  margin: 0 0 24px 0;
  border-collapse: collapse;
}

.p-entry__body td,
.p-entry__body th {
  border: 1px solid #ddd;
  padding: 10px 15px 7px;
  line-height: 2.2;
  font-size: 14px;
}

.p-entry__body th {
  background: #fafafa;
  font-weight: normal;
}

/* table style */
.table_no_border th,
.table_no_border td {
  border: none;
  padding-left: 0;
}

.table_border_horizontal th,
.table_border_horizontal td {
  border-left: none;
  border-right: none;
  padding-left: 0;
}

/* block quote */
.p-entry__body blockquote {
  margin: 0 0 25px 0;
  padding: 27px 30px 0;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 0px 0px #f2f2f2;
  position: relative;
}

.p-entry__body blockquote:before {
  content: '"';
  font-style: italic;
  font-size: 30px;
  font-weight: normal;
  line-height: 40px;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  left: 10px;
  color: #5cbcd7;
}

.p-entry__body blockquote:after {
  content: '"';
  font-style: italic;
  font-size: 30px;
  font-weight: normal;
  text-align: left;
  line-height: 60px;
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 7px;
  right: 0;
  color: #5cbcd7;
}

.p-entry__body blockquote cite {
  border-top: 1px dotted #aaa;
  display: block;
  padding: 20px 0 0 0;
  font-style: italic;
  text-align: right;
  font-size: 90%;
}

/* captions */
.p-entry__body .wp-caption {
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  max-width: 100%;
  border-radius: 5px;
  box-sizing: border-box;
}

.p-entry__body .wp-caption-text {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin: 9px auto;
}

.p-entry__body .wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}

/* gallery */
.gallery {
  margin-bottom: 20px;
}

.gallery a img {
  border: 0 !important;
}

.gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 48%;
  max-width: calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
  max-width: 32%;
  max-width: calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: calc(11.1% - 4px);
}

.gallery-columns-10 .gallery-item {
  max-width: 7%;
  max-width: calc(9.4% - 0px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n),
.gallery-columns-10 .gallery-item:nth-of-type(10n) {
  margin-right: 0;
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 100%;
}

.gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption,
.gallery-columns-10 .gallery-caption {
  display: none;
}

/* etc */
.p-entry__body .wp-smiley {
  border: 0;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.p-entry__body address {
  margin: 0 0 24px 0;
  line-height: 2.2;
}

.p-entry__body pre {
  border-left: 5px solid #7fc120;
  font-size: 12px;
  margin: 0 0 27px 0;
  line-height: 25px; /*background:url(img/common/pre.gif) repeat left top;*/
  padding: 0 17px;
  overflow: auto;
}

.p-entry__body .mejs-container {
  margin: 12px 0 25px;
}

/* Column layout - カラムレイアウト */
.post_row {
  line-height: 2.4;
  margin-left: -25px;
  margin-right: -25px;
}

.post_row:before,
.post_row:after {
  content: " ";
  display: table;
}

.post_row:after {
  clear: both;
}

.post_col,
.post_col-2,
.post_col-3 {
  float: left;
  margin-bottom: 2em;
  min-height: 1px;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .post_col-2 {
    width: 50%; /* 2カラム */
  }
  .post_col-3 {
    width: 33.33333%;
  }
}

@media screen and (min-width: 1024px) {
  .post_col-2 {
    width: 50%; /* 2カラム */
  }
  .post_col-3 {
    width: 33.33333%;
  }
}

/* headline - 見出しのスタイル */
.style2a,
.style2b,
.style3a,
.style3b,
.style4a,
.style4b,
.style5a,
.style5b,
.style6 {
  line-height: 1.6;
  font-weight: 500;
}

/* h2 */
.style2a {
  margin: 65px 0 30px !important;
  padding: 0 0 0.9em;
  border-bottom: 3px solid #000;
  font-size: 26px !important;
}

.style2b {
  margin: 65px 0 30px !important;
  padding: 0.48em 1em 0.47em;
  font-size: 26px !important;
  color: #fff;
  background: #000;
}

/* h3 */
.style3a {
  margin: 65px 0 30px !important;
  padding: 1.2em 0.15em;
  font-size: 22px !important;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.style3b {
  margin: 65px 0 30px !important;
  padding: 1.1em 1.4em 1.15em;
  font-size: 22px !important;
  background: #fafafa;
  border: 1px solid #ddd;
  border-top: 3px solid #000;
}

/* h4 */
.style4a {
  margin: 65px 0 30px !important;
  padding: 0.4em 0 0.4em 1.2em;
  border-left: 3px solid #000;
  font-size: 20px !important;
  font-weight: 500;
}

.style4b {
  position: relative;
  margin: 65px 0 30px !important;
  padding: 0.8em 1.5em 0.8em;
  border-left: #000 3px solid;
  font-size: 20px !important;
  box-sizing: border-box;
}

.style4b:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: calc(100% - 2px);
  border: 1px solid #ddd;
  border-left: none;
}

/* h5 */
.style5a {
  margin: 65px 0 30px !important;
  padding: 0.85em 1.5em 0.8em;
  font-size: 18px !important;
  background: #fafafa;
  border: 1px solid #ddd;
}

.style5b {
  margin: 65px 0 30px !important;
  padding: 0.85em 1.5em 0.8em;
  font-size: 18px !important;
  color: #fff;
  background: #000;
}

/* h6 */
.style6 {
  position: relative;
  margin: 65px 0 30px !important;
  padding: 0 0.8em 0 1.3em;
  color: #000;
  font-size: 16px !important;
  font-weight: 700;
}

.style6:before {
  background: #000;
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 12px;
  height: 12px;
}

@media screen and (max-width: 767px) {
  /* h2 */
  .style2a {
    margin: 30px 0 20px !important;
    padding: 0 0 0.6em;
    font-size: 20px !important;
  }
  .style2b {
    margin: 30px 0 20px !important;
    padding: 0.42em 0.7em 0.41em;
    font-size: 20px !important;
    color: #fff;
    background: #000;
  }
  /* h3 */
  .style3a {
    margin: 30px 0 20px !important;
    padding: 0.6em 0.15em;
    font-size: 18px !important;
  }
  .style3b {
    margin: 30px 0 20px !important;
    padding: 0.5em 0.5em 0.45em 0.6em;
    font-size: 18px !important;
  }
  /* h4 */
  .style4a {
    margin: 30px 0 20px !important;
    padding: 0.4em 0 0.4em 0.8em;
    border-left: 2px solid #000;
    font-size: 16px !important;
  }
  .style4b {
    margin: 30px 0 20px !important;
    padding: 0.8em 1em 0.75em;
    border-left: #000 2px solid;
    font-size: 16px !important;
  }
  /* h5 */
  .style5a {
    margin: 30px 0 20px !important;
    padding: 0.8em 1em 0.75em;
    font-size: 15px !important;
  }
  .style5b {
    margin: 30px 0 20px !important;
    padding: 0.8em 1em 0.75em;
    font-size: 15px !important;
  }
}

.news_headline1 {
  border-left: 8px solid #444;
  font-size: 1.2em;
  line-height: 1.2;
  margin: 80px 0 25px 0;
  padding: 0.5em;
  position: relative;
}

.news_headline1:after {
  border-bottom: 1px dotted #ddd;
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 0;
}

.news_headline2 {
  border-left: 6px solid #545454;
  font-size: 1.1em;
  line-height: 26px;
  margin: 40px 0 20px 0;
  padding: 0 0.5em;
}

.balloon {
  background: #222;
  border-bottom: 0;
  clear: both;
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 400;
  margin: 50px 0 22px;
  min-width: 115px;
  padding: 0.5em 18px 0.5em;
  position: relative;
  text-align: left;
  width: auto;
  z-index: 0;
}

.balloon:after {
  border-color: #222 transparent transparent transparent;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  bottom: -10px;
  content: "";
  display: block;
  margin-left: -10px;
  position: absolute;
  left: 30px;
  width: 0px;
  height: 0px;
}

/* flame - 囲み枠 */
.well {
  margin-bottom: 30px;
  padding: 1.1em 2em;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.well2 {
  margin-bottom: 30px;
  padding: 1.1em 2em;
  border: 1px solid #ddd;
}

.well3 {
  margin-bottom: 30px;
  padding: 1.1em 2em;
  border: 1px dashed #ddd;
  background: #fafafa;
}

.wl_red {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.wl_yellow {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.wl_blue {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

.wl_green {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

@media screen and (max-width: 767px) {
  .well,
  .well2,
  .well3 {
    padding: 0.9em 0.8em 0.9em 1em;
  }
}

/* button - CSSボタンのスタイル */
.q_button {
  background-color: #535353;
  box-sizing: border-box;
  color: #fff !important;
  display: inline-block;
  font-size: 100%;
  font-weight: 400;
  min-width: 200px;
  margin: 0;
  max-width: 90%;
  padding: 0.6em 1.3em 0.5em;
  transition: all 0.3s ease-in-out 0s;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
}

.q_button:hover,
.q_button:focus {
  background-color: #7d7d7d;
  color: #fff;
  text-decoration: none;
}

/* Button option */
.rounded {
  border-radius: 6px;
}

.pill {
  border-radius: 50px;
}

.sz_full {
  display: block;
  font-size: 110%;
  max-width: 100%;
  min-width: 100px;
  padding: 1em 1.5em 0.9em;
}

.sz_l {
  font-size: 110%;
  max-width: 90%;
  min-width: 350px;
  padding: 0.8em 1.5em 0.7em;
}

@media screen and (max-width: 767px) {
  .sz_l {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

.sz_s {
  min-width: 100px;
  max-width: 90%;
  font-size: 85%;
  padding: 0.4em 1em 0.3em;
}

.bt_red {
  background: #c01f0e;
  color: #fff;
}

.bt_red:hover,
.bt_red:focus {
  background-color: #d33929;
  color: #fff;
}

.bt_yellow {
  background: #f1c40f;
  color: #fff;
}

.bt_yellow:hover,
.bt_yellow:focus {
  background-color: #f9d441;
  color: #fff;
}

.bt_blue {
  background: #2980b9;
  color: #fff;
}

.bt_blue:hover,
.bt_blue:focus {
  background-color: #3a91c9;
  color: #fff;
}

.bt_green {
  background: #27ae60;
  color: #fff;
}

.bt_green:hover,
.bt_green:focus {
  background-color: #39c574;
  color: #fff;
}

/* Youtube responsive - Youtube動画のレスポンシブ表示 */
.ytube {
  position: relative;
  height: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 56.25%;
  padding-top: 30px;
  overflow: hidden;
}

.ytube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Table responsive - テーブルのレスポンシブ表示 */
.rps_table {
  line-height: 2;
}

@media only screen and (max-width: 567px) {
  .rps_table tr {
    display: block;
    margin-bottom: 1.5em;
  }
  .rps_table th,
  .rps_table td {
    display: list-item;
    list-style-type: none;
  }
  .rps_table td {
    border-top: none;
  }
}

/* Cardlink style - カードリンクのスタイル */
.cardlink {
  padding: 20px;
  margin: 10px 0;
  border: 1px solid #ddd;
  word-wrap: break-word;
  max-width: 100%;
  background: #fafafa;
}

.cardlink_thumbnail {
  float: left;
  margin-right: 25px;
}

.cardlink_thumbnail img {
  width: 130px;
  height: 130px;
  -o-object-fit: cover;
  object-fit: cover;
}

/* for IE11 */
@media screen and (-ms-high-contrast: active),
  screen and (-ms-high-contrast: none) {
  .cardlink_thumbnail img {
    height: auto;
  }
}

.cardlink_content {
  line-height: 1.6;
}

.cardlink_timestamp {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: top;
  color: #222;
  line-height: 1;
  font-size: 12px;
}

.cardlink_title {
  font-size: 16px;
  margin: -3px 0 5px;
}

.cardlink_title a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.cardlink_title a:hover {
  text-decoration: underline;
}

.cardlink_excerpt {
  color: #000;
  font-size: 14px;
  overflow: hidden;
  line-height: 1.9;
}

.cardlink_footer {
  clear: both;
}

.clear {
  clear: both;
}

@media screen and (max-width: 767px) {
  .cardlink_timestamp {
    display: none;
  }
}

@media screen and (max-width: 567px) {
  .cardlink {
    padding: 15px 11px 12px 13px;
  }
  .cardlink_thumbnail {
    float: left;
    margin-bottom: 10px;
    margin-right: 12px;
  }
  .cardlink_thumbnail img {
    width: 100px;
    height: 100px;
  }
  .cardlink_title {
    font-size: 14px;
    margin-top: -5px;
  }
  .cardlink_excerpt {
    clear: both;
  }
}

/* Contactform - お問い合わせフォーム */
.wpcf7 {
  background: #fafafa;
  border: 1px solid #ddd;
  font-size: 14px;
  margin: 0 0 2.5em !important;
  padding: 0;
  width: 100%;
}

.wpcf7 form {
  margin: 1.5em 1.5em 0;
}

.wpcf7 p {
  margin-bottom: 1em;
  font-size: 16px;
}

.wpcf7 input,
.wpcf7 textarea {
  border: 1px solid #ccc;
  box-sizing: border-box;
  line-height: 1.2;
  padding: 8px;
  width: 100%;
}

.wpcf7 select,
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  border: 1px solid #ccc;
  max-width: 97%;
  padding: 8px;
  width: auto;
}

.wpcf7 select,
.wpcf7 .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.2;
}

.wpcf7 .wpcf7-list-item {
  display: block;
}

.wpcf7 textarea {
  height: 300px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border: 1px solid #bbb;
  outline: none;
}

.wpcf7 .wpcf7-submit {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 225px;
  height: 48px;
  margin: 30px auto 0;
  background-color: #333333;
  cursor: pointer;
  border: none !important;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.wpcf7 .wpcf7-submit:before,
.wpcf7 .wpcf7-submit:after {
  box-sizing: border-box;
}

.wpcf7 .wpcf7-submit:hover {
  background-color: #666666;
}

.wpcf7 .wpcf7-submit .wpcf7-not-valid {
  background: pink;
}

.wpcf7 .wpcf7-submit .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 35px 8px 14px;
  border-radius: 4px;
}

.wpcf7 .wpcf7-submit .wpcf7-validation-errors {
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid #eed3d7;
}

.wpcf7 .wpcf7-submit .wpcf7-mail-sent-ok {
  color: #3a87ad;
  background-color: #d9edf7;
  border: 1px solid #bce8f1;
}

/* font-size - フォントサイズ */
.text70 {
  font-size: 70%;
}

.text80 {
  font-size: 80%;
}

.text90 {
  font-size: 90%;
}

.text100 {
  font-size: 100%;
}

.text110 {
  font-size: 110%;
}

.text120 {
  font-size: 120%;
}

.text130 {
  font-size: 130%;
}

.text140 {
  font-size: 140%;
}

.text150 {
  font-size: 150%;
}

.text160 {
  font-size: 160%;
}

.text170 {
  font-size: 170%;
}

.text180 {
  font-size: 180%;
}

.text190 {
  font-size: 190%;
}

.text200 {
  font-size: 200%;
}

.text210 {
  font-size: 210%;
}

.text220 {
  font-size: 220%;
}

.b {
  font-weight: 700;
}

/* 太字 */
.u {
  text-decoration: underline;
}

/* 下線 */
.del {
  text-decoration: line-through;
}

/* 打ち消し線 */
/* font-color - フォントカラー */
.red {
  color: red;
}

/* 赤色 */
.blue {
  color: #2ca9e1;
}

/* 青色 */
.green {
  color: #82ae46;
}

/* 緑色 */
.orange {
  color: #ff7d00;
}

/* 橙色 */
.yellow {
  color: #fff000;
}

/* 黄色 */
.pink {
  color: #ff0084;
}

/* ピンク */
.gray {
  color: #999999;
}

/* グレー */
/* background-color - 背景色 */
/* 青色の文字背景 */
.bg-blue {
  background-color: #4ab0f5;
  padding: 2px;
}

/* 赤色の文字背景 */
.bg-red {
  background-color: red;
  padding: 2px;
}

/* 黄色の文字背景 */
.bg-yellow {
  background-color: #ff0;
  padding: 2px;
}

/* text-align - 配置 */
.align1 {
  text-align: center !important;
}

/* 中央寄せ */
.align2 {
  text-align: right !important;
}

/* 右寄せ */
.align3 {
  text-align: left !important;
}

/* 左寄せ */
/* float - 回り込み */
/* 右に回り込み */
.r-flo {
  float: right;
  margin: 10px;
}

/* 左に回り込み */
.l-flo {
  float: left;
  margin: 10px;
}

.f-clear {
  clear: both;
}

/* 回り込みの解除 */
/* hover - 画像リンクマウスオーバー時の不透明度 */
a img.fade {
  background: none !important;
  outline: none;
  transition: all 0.3s;
}

a:hover img.fade {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
  background: none !important;
}

/* text-style - テキストスタイル */
/* 注意書き等で二行目以降を字下げ */
.att {
  padding-left: 1em;
  text-indent: -1em;
}

/* テキストボックス */
.att_box {
  margin: 2em 0 2.5em;
  padding: 1em 1.2em;
  line-height: 2;
  border: 1px dotted #cccccc;
  background: #fcfcfc;
}

/* margin - 要素の外側の余白 */
.m0 {
  margin: 0 !important;
}

/* margin 0px を指定するクラス */
.mt0 {
  margin-top: 0 !important;
}

/* margin-top0px を指定するクラス */
.mr0 {
  margin-right: 0 !important;
}

/* margin-right0px を指定するクラス*/
.mb0 {
  margin-bottom: 0 !important;
}

/* margin-bottom0px を指定するクラス*/
.ml0 {
  margin-left: 0 !important;
}

/* margin-left0px を指定するクラス*/
.m5 {
  margin: 5px !important;
}

.mt5 {
  margin-top: 5px !important;
}

.mr5 {
  margin-right: 5px !important;
}

.mb5 {
  margin-bottom: 5px !important;
}

.ml5 {
  margin-left: 5px !important;
}

.m10 {
  margin: 10px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.m15 {
  margin: 15px !important;
}

.mt15 {
  margin-top: 15px !important;
}

.mr15 {
  margin-right: 15px !important;
}

.mb15 {
  margin-bottom: 15px !important;
}

.ml15 {
  margin-left: 15px !important;
}

.m20 {
  margin: 20px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.m25 {
  margin: 25px !important;
}

.mt25 {
  margin-top: 25px !important;
}

.mr25 {
  margin-right: 25px !important;
}

.mb25 {
  margin-bottom: 25px !important;
}

.ml25 {
  margin-left: 25px !important;
}

.m30 {
  margin: 30px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mr30 {
  margin-right: 30px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.ml30 {
  margin-left: 30px !important;
}

.m35 {
  margin: 35px !important;
}

.mt35 {
  margin-top: 35px !important;
}

.mr35 {
  margin-right: 35px !important;
}

.mb35 {
  margin-bottom: 35px !important;
}

.ml35 {
  margin-left: 35px !important;
}

.m40 {
  margin: 40px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mr40 {
  margin-right: 40px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.ml40 {
  margin-left: 40px !important;
}

.m45 {
  margin: 45px !important;
}

.mt45 {
  margin-top: 45px !important;
}

.mr45 {
  margin-right: 45px !important;
}

.mb45 {
  margin-bottom: 45px !important;
}

.ml45 {
  margin-left: 45px !important;
}

.m50 {
  margin: 50px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mr50 {
  margin-right: 50px !important;
}

.mb50 {
  margin-bottom: 50px !important;
}

.ml50 {
  margin-left: 50px !important;
}

.m55 {
  margin: 55px !important;
}

.mt55 {
  margin-top: 55px !important;
}

.mr55 {
  margin-right: 55px !important;
}

.mb55 {
  margin-bottom: 55px !important;
}

.ml55 {
  margin-left: 55px !important;
}

.m60 {
  margin: 60px !important;
}

.mt60 {
  margin-top: 60px !important;
}

.mr60 {
  margin-right: 60px !important;
}

.mb60 {
  margin-bottom: 60px !important;
}

.ml60 {
  margin-left: 60px !important;
}

.m65 {
  margin: 65px !important;
}

.mt65 {
  margin-top: 65px !important;
}

.mr65 {
  margin-right: 65px !important;
}

.mb65 {
  margin-bottom: 65px !important;
}

.ml65 {
  margin-left: 65px !important;
}

.m70 {
  margin: 70px !important;
}

.mt70 {
  margin-top: 70px !important;
}

.mr70 {
  margin-right: 70px !important;
}

.mb70 {
  margin-bottom: 70px !important;
}

.ml70 {
  margin-left: 70px !important;
}

.m75 {
  margin: 75px !important;
}

.mt75 {
  margin-top: 75px !important;
}

.mr75 {
  margin-right: 75px !important;
}

.mb75 {
  margin-bottom: 75px !important;
}

.ml75 {
  margin-left: 75px !important;
}

.m80 {
  margin: 80px !important;
}

.mt80 {
  margin-top: 80px !important;
}

.mr80 {
  margin-right: 80px !important;
}

.mb80 {
  margin-bottom: 80px !important;
}

.ml80 {
  margin-left: 80px !important;
}

/* padding - 要素の内側の余白 */
.p0 {
  padding: 0 !important;
}

.pt0 {
  padding-top: 0 !important;
}

.pr0 {
  padding-right: 0 !important;
}

.pb0 {
  padding-bottom: 0 !important;
}

.pl0 {
  padding-left: 0 !important;
}

.p5 {
  padding: 5px !important;
}

.pt5 {
  padding-top: 5px !important;
}

.pr5 {
  padding-right: 5px !important;
}

.pb5 {
  padding-bottom: 5px !important;
}

.pl5 {
  padding-left: 5px !important;
}

.p10 {
  padding: 10px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pr10 {
  padding-right: 10px !important;
}

.pb10 {
  padding-bottom: 10px !important;
}

.pl10 {
  padding-left: 10px !important;
}

.p15 {
  padding: 15px !important;
}

.pt15 {
  padding-top: 15px !important;
}

.pr15 {
  padding-right: 15px !important;
}

.pb15 {
  padding-bottom: 15px !important;
}

.pl15 {
  padding-left: 15px !important;
}

.p20 {
  padding: 20px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pr20 {
  padding-right: 20px !important;
}

.pb20 {
  padding-bottom: 20px !important;
}

.pl20 {
  padding-left: 20px !important;
}

.p25 {
  padding: 25px !important;
}

.pt25 {
  padding-top: 25px !important;
}

.pr25 {
  padding-right: 25px !important;
}

.pb25 {
  padding-bottom: 25px !important;
}

.pl25 {
  padding-left: 25px !important;
}

.p30 {
  padding: 30px !important;
}

.pt30 {
  padding-top: 30px !important;
}

.pr30 {
  padding-right: 30px !important;
}

.pb30 {
  padding-bottom: 30px !important;
}

.pl30 {
  padding-left: 30px !important;
}

.p35 {
  padding: 35px !important;
}

.pt35 {
  padding-top: 35px !important;
}

.pr35 {
  padding-right: 35px !important;
}

.pb35 {
  padding-bottom: 35px !important;
}

.pl35 {
  padding-left: 35px !important;
}

.p40 {
  padding: 40px !important;
}

.pt40 {
  padding-top: 40px !important;
}

.pr40 {
  padding-right: 40px !important;
}

.pb40 {
  padding-bottom: 40px !important;
}

.pl40 {
  padding-left: 40px !important;
}

.p45 {
  padding: 45px !important;
}

.pt45 {
  padding-top: 45px !important;
}

.pr45 {
  padding-right: 45px !important;
}

.pb45 {
  padding-bottom: 45px !important;
}

.pl45 {
  padding-left: 45px !important;
}

.p50 {
  padding: 50px !important;
}

.pt50 {
  padding-top: 50px !important;
}

.pr50 {
  padding-right: 50px !important;
}

.pb50 {
  padding-bottom: 50px !important;
}

.pl50 {
  padding-left: 50px !important;
}

.p55 {
  padding: 55px !important;
}

.pt55 {
  padding-top: 55px !important;
}

.pr55 {
  padding-right: 55px !important;
}

.pb55 {
  padding-bottom: 55px !important;
}

.pl55 {
  padding-left: 55px !important;
}

.p60 {
  padding: 60px !important;
}

.pt60 {
  padding-top: 60px !important;
}

.pr60 {
  padding-right: 60px !important;
}

.pb60 {
  padding-bottom: 60px !important;
}

.pl60 {
  padding-left: 60px !important;
}

.p65 {
  padding: 65px !important;
}

.pt65 {
  padding-top: 65px !important;
}

.pr65 {
  padding-right: 65px !important;
}

.pb65 {
  padding-bottom: 65px !important;
}

.pl65 {
  padding-left: 65px !important;
}

.p70 {
  padding: 70px !important;
}

.pt70 {
  padding-top: 70px !important;
}

.pr70 {
  padding-right: 70px !important;
}

.pb70 {
  padding-bottom: 70px !important;
}

.pl70 {
  padding-left: 70px !important;
}

.p75 {
  padding: 75px !important;
}

.pt75 {
  padding-top: 75px !important;
}

.pr75 {
  padding-right: 75px !important;
}

.pb75 {
  padding-bottom: 75px !important;
}

.pl75 {
  padding-left: 75px !important;
}

.p80 {
  padding: 80px !important;
}

.pt80 {
  padding-top: 80px !important;
}

.pr80 {
  padding-right: 80px !important;
}

.pb80 {
  padding-bottom: 80px !important;
}

.pl80 {
  padding-left: 80px !important;
}

.c-logo img {
  filter: drop-shadow(3px 3px 3px #ffffff);
}

.l-header {
  transition: background-color 0.5s ease;
}

.l-header__desc {
  font-weight: bold;
  margin-right: 15px;
}

.sub {
  width: 50%;
}

.prev_post has_image {
  display: none;
}

.c-logo,
.p-page-header__title,
.p-banner__title,
.p-cover__title,
.p-archive-header__title,
.p-article05__title,
.p-article09__title,
.p-cb__item-title,
.p-article11__title,
.p-article12__title,
.p-index-content01__title,
.p-header-content__title,
.p-megamenu01__item-list > li > a,
.p-article13__title,
.p-megamenu02__title,
.p-cover__header-title {
  font-family: "Libre Franklin", sans-serif !important;
}

.l-header__desc {
  max-width: 100px;
}

.l-header {
  background: rgb(0, 0, 0, 0) !important;
}
/* Optional: just make scrollbar invisible */
/* ::-webkit-scrollbar {
  width: 0px;
  background: transparent;
} */
/* Optional: show position indicator in blue */
/* ::-webkit-scrollbar-thumb {
  background: #5583ca;
  border-radius: 10px;
} */
.l-header--fixed.is-active p,
.l-header--fixed.is-active button {
  color: #5281ca;
}

.l-header--fixed.is-active a {
  color: black;
}

.style2a,
#place h2,
.texttopic,
.subtexttopic,
.texttopic h1 {
  font-family: "Fira Sans", sans-serif !important;
  font-weight: 700;
}

/*grid plugin*/
.post-grid .item .layer-media img {
  height: 275px;
}

/*ie*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .l-header__desc {
    max-width: 100px;
  }
  .p-global-nav > li {
    /* min-width: 150px; */
  }
  .p-article12__img img {
    width: auto;
  }
  .l-header__inner {
    width: 100% !important;
  }
  .p-cat-list__list-item {
    margin: 0 12px 45px;
  }
  .p-global-nav > li > a {
    padding: 0px;
  }
}

@media screen and (-ms-high-contrast: active),
  (-ms-high-contrast: none) and (min-width: 1281px) {
  .l-header {
    overflow: hidden;
    height: 300px;
  }
  .l-header__inner {
    /* max-width: 1400px !important; */
  }
}

@media screen and (-ms-high-contrast: active),
  (-ms-high-contrast: none) and (max-width: 1280px) {
  .p-global-nav > li {
    /* min-width: 130px; */
  }
}

/*edge*/
@supports (-ms-ime-align: auto) {
  .p-global-nav > li > a {
    padding: 0px;
  }
  .p-global-nav > li {
    flex: none;
  }
  .p-cat-list__list-item {
    margin: 0 12px 45px;
  }
}

/*firefox*/
@-moz-document url-prefix() {
  .p-global-nav > li > a {
    padding: 0px;
  }
}

/* ==================== ESTH franky 2025-08-21 ============================ */

/* ========== Content builder at Front page ============ */
.home .p-works-list__item {
  width: calc(25% - 32px);
}

@media screen and (max-width: 991px) {
  .p-works-list {
    justify-content: space-between;
    margin-right: 0;
  }

  .p-works-list__item {
    margin-right: 0;
    width: 45% !important;
  }
}
