@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */
body {
  font-family: "Karla", Arial, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  color: gray;
}

body.menu-show {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
}

#colorlib-wrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#colorlib-wrapper>div {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

a {
  color: #F9CE00;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

a:hover {
  text-decoration: underline;
  color: #F9CE00;
}

a:focus,
a:active {
  outline: none;
}

p,
span {
  margin-bottom: 1.5em;
  font-weight: 400;
  font-family: "Karla", Arial, sans-serif;
}

ul,
ol {
  display: block;
  margin-bottom: 1.5em;
}

span {
  font-size: 18px;
  color: rgba(114, 114, 114, 0.8);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgba(0, 0, 0, 0.8);
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 30px 0;
  line-height: 1.3;
}

::-webkit-selection {
  color: #fcfcfc;
  background: #b7c2c2;
}

::-moz-selection {
  color: #fcfcfc;
  background: #b7c2c2;
}

::selection {
  color: #fcfcfc;
  background: #b7c2c2;
}

#colorlib-page {
  position: relative;
  -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.menu-show #colorlib-page {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  position: relative;
}

.menu-show #colorlib-page:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

@media screen and (max-width: 768px) {
  #colorlib-page {
    padding-top: 5em;
  }

  .home #colorlib-page,
  .page-template-page-profile #colorlib-page {
    padding-top: 0 !important;
    /* ホームとプロフィールのみ上部パディングを削除 */
  }
}

.head-title {
  font-size: 20px;
}

header {
  padding: 2em 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  header {
    padding: 2em 0;
  }
}

header .colorlib-navbar-brand {
  float: left;
}

header .colorlib-navbar-brand .colorlib-logo {
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 10px;
  display: block;
  text-align: center;
}

header .colorlib-navbar-brand .colorlib-logo:hover {
  text-decoration: none !important;
}

header .colorlib-navbar-brand .colorlib-logo:active,
header .colorlib-navbar-brand .colorlib-logo:focus {
  outline: none;
  text-decoration: none;
}

#colorlib-services,
#colorlib-contact,
#colorlib-work,
#colorlib-blog {
  padding: 5em 0;
  clear: both;
  position: relative;
}

@media screen and (max-width: 768px) {

  #colorlib-services,
  #colorlib-contact,
  #colorlib-work,
  #colorlib-blog,
  #colorlib-contact {
    padding: 5em 0;
  }
}

#colorlib-hero {
  width: 100%;
  clear: both;
}

#colorlib-hero .hero-flex {
  width: 100%;
  z-index: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
}

#colorlib-hero .hero-flex .col-three-forth {
  width: 60%;
  z-index: -1;
  float: left;
  position: relative;
}

#colorlib-hero .hero-flex .col-one-forth {
  width: 40%;
  float: left;
  position: relative;
}

#colorlib-hero .hero-flex .display-t {
  display: table;
  width: 100%;
}

#colorlib-hero .hero-flex .display-tc {
  display: table-cell;
  vertical-align: middle;
}

#colorlib-hero .hero-flex .number {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 220px;
  text-align: right;
  color: #f2f2f2;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .hero-flex .number {
    display: none;
  }
}

#colorlib-hero .hero-flex .text-inner {
  display: block;
  width: 100%;
  margin-left: -5em;
}

#colorlib-hero .hero-flex .text-inner h2 {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .hero-flex .text-inner h2 {
    font-size: 24px;
  }
}

#colorlib-hero .hero-flex .text-inner .tag {
  display: block;
  letter-spacing: 7px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 13px;
}

#colorlib-hero .hero-flex .text-inner .desc {
  padding-right: 3em;
  position: relative;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .hero-flex .text-inner .desc {
    padding: 1em;
    background: #fff;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #colorlib-hero .hero-flex .text-inner .desc {
    padding: 1em;
    background: #fff;
    width: 140%;
  }
}

#colorlib-hero .hero-flex .text-inner .desc:after {
  position: absolute;
  top: 30px;
  bottom: 0;
  right: 0;
  content: '';
  width: 200px;
  height: 1px;
  background: #000;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .hero-flex .text-inner .desc:after {
    opacity: 0;
  }
}

#colorlib-hero .hero-flex .text-inner .btn-view {
  font-size: 13px;
  letter-spacing: 7px;
  color: #000;
  text-transform: uppercase;
  border: 1px solid #000;
  padding: 7px;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .hero-flex .text-inner .btn-view {
    letter-spacing: 2px;
  }
}

#colorlib-hero .owl-theme .owl-controls {
  position: absolute;
  bottom: 0;
  left: 7.3em;
  right: 0;
  width: 180px;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .owl-theme .owl-controls {
    left: 0;
  }
}

#colorlib-hero .owl-theme .owl-controls .owl-nav [class*=owl-] {
  padding: 8px 15px;
  background: #fff;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
}

#colorlib-hero .owl-theme .owl-controls .owl-nav [class*=owl-] i {
  border: none;
}

#colorlib-hero .owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
  background: #F9CE00;
  border: none;
}

#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-next,
#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-prev {
  margin: 1px;
}

#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-next i,
#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-prev i {
  font-size: 14px;
  color: #000;
  background: transparent;
}

#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-next:hover i,
#colorlib-hero .owl-carousel .owl-controls .owl-nav .owl-prev:hover i {
  color: white;
}

.about-flex {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  z-index: 0;
}

.about-flex .col-half {
  width: 50%;
  display: block;
  position: relative;
}

.about-flex .about-img {
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-flex .display-t {
  display: table;
  width: 100%;
  height: 100%;
}

.about-flex .display-t .display-tc {
  display: table-cell;
  vertical-align: middle;
}

.about-flex .about-desc {
  padding: 2em 3em;
  /* さらに上下のパディングを減らして中央に収まりやすくする */
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .about-flex .about-desc {
    padding: 1em;
  }
}

.about-flex .about-desc .title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 7px;
  display: block;
  margin-bottom: 20px;
}

.about-flex .about-desc .about-head {
  font-weight: 700;
  font-size: 38px;
}

.about-flex .about-desc p a {
  color: #000;
}

.about-flex .about-desc p a i {
  color: #000;
}

.about-flex .about-desc strong {
  color: #000;
}

.about-flex .about-desc ul {
  margin: 0;
  padding: 0;
}

.about-flex .about-desc ul li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  color: #000;
  margin-bottom: 10px;
}

.about-flex .about-desc ul li i {
  position: absolute;
  top: 5px;
  left: 0;
}

.about-flex .owl-theme .owl-controls {
  position: absolute;
  bottom: 20px;
  left: 30px;
}

@media screen and (max-width: 768px) {
  .about-flex .owl-theme .owl-controls {
    right: 0;
  }
}

.about-flex .owl-theme .owl-dots .owl-dot {
  display: inline-block;
  /* 横並びに変更 */
  margin: 0 5px;
  /* 横方向の余白に変更 */
}

.about-flex .owl-theme .owl-dots .owl-dot span {
  background: #e6e6e6;
}

.about-flex .owl-theme .owl-dots .owl-dot.active span {
  background: #000;
}

/* Profile Mini Footer inside split layout */
.profile-mini-footer {
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 10;
}

.profile-mini-footer p {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* Profile Specific Dot Position Adjustment for Fullscreen */
.page-template-page-profile .about-flex .owl-theme .owl-controls {
  bottom: 30px;
  /* コピーライトとの重複を避ける */
  left: 50%;
  /* 中央配置 */
  transform: translateX(-50%);
  /* 中央配置の補正 */
  width: auto;
  /* 幅を内容に合わせる */
}

.bold {
  position: relative;
  display: block;
  font-size: 250px;
  color: #f0f0f0;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .bold {
    font-size: 60px;
  }
}


.hero-img,
.about-img,
.work-img,
.gallery {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.work-entry-flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  width: 100%;
  margin-bottom: 7em;
}

.work-entry-flex .col-three-forth {
  width: 55%;
}

.work-entry-flex .col-one-forth {
  width: 45%;
}

.work-entry-flex .display-t {
  display: table;
}

.work-entry-flex .display-tc {
  display: table-cell;
  vertical-align: middle;
}

.work-entry-flex .text-inner-right {
  text-align: right;
  margin-right: 0;
  padding-left: 0;
}

@media screen and (max-width: 768px) {
  .work-entry-flex .text-inner-right {
    text-align: left;
    margin-left: -4em;
  }
}

.work-entry-flex .text-inner-left {
  text-align: left;
  margin-left: -4em;
}

.work-entry-flex .text-inner {
  display: block;
  padding: 3em;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .work-entry-flex .text-inner {
    padding: 1em;
  }
}

.work-entry-flex .text-inner h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
  .work-entry-flex .text-inner h2 {
    font-size: 24px;
  }
}

.work-entry-flex .text-inner h2 a {
  color: #000;
  text-decoration: none;
}

.work-entry-flex .text-inner .btn-view {
  font-size: 13px;
  letter-spacing: 7px;
  color: #000;
  text-transform: uppercase;
  border: 1px solid #000;
  padding: 7px;
  text-decoration: none;
}

.work-single-flex {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
}

.work-single-flex .col-half {
  width: 50%;
  position: relative;
}

.work-single-flex .display-t {
  display: table;
  width: 100%;
}

.work-single-flex .display-tc {
  display: table-cell;
  vertical-align: middle;
}

.work-single-flex .work-desc {
  padding: 7em;
}

@media screen and (max-width: 768px) {
  .work-single-flex .work-desc {
    padding: 1.5em;
    background: #fff;
    margin-left: -5em;
  }
}

.work-single-flex .work-desc .btn-preview {
  font-size: 13px;
  letter-spacing: 7px;
  color: #000;
  text-transform: uppercase;
  border: 1px solid #000;
  padding: 7px;
  text-decoration: none;
}

.article {
  display: block;
}

.article .blog-img {
  margin-bottom: 50px;
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: -1;
}

.article .blog-img img {
  position: relative;
  max-width: 100%;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}

.article .blog-img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.article .blog-img .link {
  position: absolute;
  top: 0;
  left: 90%;
  display: table;
  width: 100%;
  opacity: 0;
  -webkit-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}

.article .blog-img .link .read {
  display: table-cell;
  vertical-align: middle;
  font-family: "Karla", Arial, sans-serif;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 5px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: 0;
  -ms-transform-origin: 0;
  transform-origin: 0;
  position: relative;
}

.article .blog-img .link .read:after {
  position: absolute;
  top: 10px;
  left: -50px;
  content: '';
  background: #fff;
  width: 40px;
  height: 1px;
}

.article .blog-img:hover .overlay {
  opacity: 1;
}

.article .blog-img:hover .link {
  opacity: 1;
  top: 120px;
}

.article .blog-img:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.article .desc {
  position: relative;
  z-index: 1;
  margin-top: -5em;
  width: 90%;
  background: #fff;
  padding: 1em;
  padding-top: 2em;
}

.article .desc .meta {
  position: absolute;
  top: -60px;
  left: 20px;
  background: #FFE9E3;
  color: #000;
  padding: 20px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-box-shadow: 0px 2px 49px -4px rgba(0, 0, 0, 0.21);
  -moz-box-shadow: 0px 2px 49px -4px rgba(0, 0, 0, 0.21);
  -ms-box-shadow: 0px 2px 49px -4px rgba(0, 0, 0, 0.21);
  -o-box-shadow: 0px 2px 49px -4px rgba(0, 0, 0, 0.21);
  box-shadow: 0px 2px 49px -4px rgba(0, 0, 0, 0.21);
}

.article .desc h2 {
  font-size: 24px;
}

.article .desc h2 a {
  text-decoration: none;
  color: #000;
}

.article:hover .meta {
  background: #fff;
}

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-size: 13px !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  border-radius: 1px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 8px 20px;
}

.btn.btn-md {
  padding: 8px 20px !important;
}

.btn.btn-lg {
  padding: 18px 36px !important;
}

.btn:hover,
.btn:active,
.btn:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.btn-primary {
  background: #F9CE00;
  color: #fff;
  border: 2px solid #F9CE00;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #ffd614 !important;
  border-color: #ffd614 !important;
}

.btn-primary.btn-outline {
  background: transparent;
  color: #4d4d4d;
  border: 1px solid #d9d9d9;
}

.btn-primary.btn-outline:hover,
.btn-primary.btn-outline:focus,
.btn-primary.btn-outline:active {
  background: #F9CE00;
  color: #fff;
}


.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}


.btn.with-arrow {
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.btn.with-arrow i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -8px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.btn.with-arrow:hover {
  padding-right: 50px;
}

.btn.with-arrow:hover i {
  color: #fff;
  right: 18px;
  visibility: visible;
  opacity: 1;
}

.btn-submit {
  background: #000;
  border: 2px solid #000;
}


.contact-info {
  margin-bottom: 4em;
  padding: 0;
}

.contact-info li {
  list-style: none;
  margin: 0 0 30px 0;
  position: relative;
  padding-left: 60px;
}

.contact-info li span {
  position: absolute;
  top: -0.3em;
  left: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  display: table;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.contact-info li i {
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}

.contact-info li a {
  color: #000;
}

.form-control {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  border: 1px solid whitesmoke;
  font-size: 16px;
  font-weight: 300;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
}

.form-control:focus,
.form-control:active {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #000;
}

input[type="text"] {
  height: 50px;
}

.form-group {
  margin-bottom: 30px;
}


#colorlib-subscribe {
  padding: 5em 0;
}

#colorlib-subscribe .colorlib-heading {
  margin-bottom: 20px;
}

#colorlib-subscribe .colorlib-heading h2 {
  font-weight: 700;
}

#colorlib-subscribe .colorlib-heading p {
  font-size: 18px;
}

#colorlib-footer {
  padding: 4em 0;
  display: block;
  width: 100%;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav ul li {
  display: inline-block;
  margin: 0 15px;
}

.footer-nav ul li a {
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: #FFC300;
}

.footer-social-icons {
  margin-bottom: 30px;
}

.footer-social-icons a {
  margin: 0 10px;
}

.footer-social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.footer-social-icons a:hover img {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .footer-nav ul li {
    display: block;
    margin: 10px 0;
  }
}


#footer {
  padding: 8em 0;
  display: block;
  width: 100%;
}

#footer h2 {
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 2em;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

#footer p a {
  color: #000;
}

#footer p:last-child {
  margin-bottom: 0;
}

/* Home & Profile: Full Viewport Fix - Adjusted to prevent overlap */
.home #colorlib-page,
.page-template-page-profile #colorlib-page {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Home Slide height adjustment */
.home #colorlib-hero {
  height: calc(100vh - 80px) !important;
}

.home .owl-carousel,
.home .owl-stage-outer,
.home .owl-stage,
.home .owl-item,
.home .hero-img {
  height: 100% !important;
}

.home #colorlib-footer,
.page-template-page-profile #colorlib-footer {
  position: relative;
  width: 100%;
  padding: 1.5em 0;
  background: #fff;
  z-index: 15;
  text-align: center;
  height: 80px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .home #colorlib-hero {
    height: calc(100vh - 60px) !important;
  }

  .home #colorlib-footer,
  .page-template-page-profile #colorlib-footer {
    width: 100%;
    position: relative;
    background: #fff;
    height: auto;
    padding: 15px 0;
  }
}

/* Unify footer with other pages */


#footer p .block {
  color: #1a1a1a;
  font-size: 14px;
}

.js .animate-box {
  opacity: 0;
}



/* 文字を濃くする */
body {
  color: #222;
  /* 今より黒に近い色にする (#333でもOK) */
  font-weight: 500;
  /* デフォルト400より少し太め */
}

#colorlib-work {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Fix for WordPress Admin Bar white gap */
html {
  margin-top: 0 !important;
}

* html body {
  margin-top: 0 !important;
}


/* --- NEW YODAX MENU STYLES --- */

/* 1. Menu Overlay - Hidden by default */
#yodax-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  /* Menu Width */
  height: 100%;
  background: #fff;
  z-index: 10000;
  transform: translateX(100%);
  /* Slide out to right */
  transition: transform 0.3s ease-in-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
  /* Space for admin bar/close button */
}

/* Open State */
#yodax-menu-overlay.is-visible {
  transform: translateX(0);
  /* Slide in */
}

/* Menu Content */
#yodax-menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

#yodax-menu-overlay ul li {
  margin-bottom: 15px;
}

#yodax-menu-overlay ul li a {
  font-size: 18px;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}


#yodax-menu-overlay ul li.active a {
  color: #FFC300;
  /* Active Color */
}

/* WordPress custom menu current item support */
#yodax-menu-overlay ul li.current-menu-item>a,
#yodax-menu-overlay ul li.current_page_item>a,
#yodax-menu-overlay ul li.current-menu-ancestor>a {
  color: #FFC300;
  /* Active Color */
}

#yodax-menu-overlay .social-icons img {
  margin: 0 5px;
  width: 40px;
  /* Smaller icons */
  height: 40px;
}

/* 2. Toggle Button - Always Visible */

/* =========================================
   YODAX Theme Final Layout Fixes (CLEAN)
   ========================================= */

/* 1. Global Reset: WordPress Admin Bar Support */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  margin-top: 0;
}

#wpadminbar {
  position: fixed !important;
}

@media screen and (max-width: 782px) {

  html,
  html body {
    margin-top: 0 !important;
  }
}

/* 2. Page Layout Fixes */
#colorlib-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 3. Menu Overlay Adjustment */
#yodax-menu-overlay {
  z-index: 99990;
  /* Standard high z-index, but below admin bar */
  top: 0;
  padding-top: 60px;
}

body.admin-bar #yodax-menu-overlay {
  top: 32px !important;
  /* Shift down to not overlap admin bar */
  height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar #yodax-menu-overlay {
    top: 46px !important;
    height: calc(100% - 46px);
  }
}

/* 4. Hamburger Toggle Button (Flexbox Centering) */
.yodax-toggle-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 10px;
  right: 20px;
  width: 44px;
  height: 44px;
  z-index: 99991;
  /* Above Overlay, but below Admin Bar (99999) */
  cursor: pointer;
  background: transparent;
}

/* Admin Bar Adjustments for Toggle Button */
body.admin-bar .yodax-toggle-btn {
  top: 42px !important;
  /* 32px (admin bar) + 10px (offset) */
}

@media screen and (max-width: 782px) {
  body.admin-bar .yodax-toggle-btn {
    top: 56px !important;
    /* 46px + 10px */
  }
}

/* Icon Graphics (Hamburger Lines) */
.yodax-toggle-btn i {
  position: relative;
  display: block;
  width: 25px;
  height: 2px;
  background: #000;
  transition: background 0.2s;
}

.yodax-toggle-btn i::before,
.yodax-toggle-btn i::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: #000;
  left: 0;
  transition: transform 0.2s, top 0.2s;
}

.yodax-toggle-btn i::before {
  top: -8px;
}

.yodax-toggle-btn i::after {
  top: 8px;
}

/* Active States (X-shape) */
.yodax-toggle-btn.active i {
  background: transparent !important;
}

.yodax-toggle-btn.active i::before {
  top: 0;
  transform: rotate(45deg);
}

.yodax-toggle-btn.active i::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
 * カスタムスライダーアニメーション
 * 画像: スライド効果
 * テキスト: フェードイン/アウト効果
 * ======================================== */

/* 画像のスライドアウト(左へ) */
@keyframes slideOutLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.slideOutLeft {
  animation-name: slideOutLeft;
}

/* 画像のスライドイン(右から) */
@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  animation-name: slideInRight;
}

/* テキストのフェードアウト */
@keyframes textFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.textFadeOut {
  animation-name: textFadeOut;
}

/* テキストのフェードイン */
@keyframes textFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.textFadeIn {
  animation-name: textFadeIn;
}

/* アニメーション適用時の共通設定 */
.owl-carousel .owl-item .hero-img.animated {
  animation-duration: 800ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-item .text-inner.animated {
  animation-duration: 600ms;
  animation-fill-mode: both;
}

/* --- プロフィール・シンプル・レスポンシブ (Final Fix) --- */
.page-template-page-profile #colorlib-page {
  min-height: 100vh;
  overflow-x: hidden;
}

/* PC: 左右分割・縦スクロール表示 */
@media screen and (min-width: 769px) {
  .page-template-page-profile #colorlib-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .page-template-page-profile .about-flex {
    height: auto !important;
    min-height: calc(100vh - 80px);
    display: flex !important;
  }

  .page-template-page-profile .about-flex .col-half {
    width: 50% !important;
  }

  /* 左側: 画像を固定表示 */
  .page-template-page-profile .about-flex .about-img {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  /* 右側: スクロール可能なコンテンツエリア */
  .page-template-page-profile .about-flex .col-half:last-child {
    height: auto !important;
    overflow-y: auto;
  }

  .page-template-page-profile .about-flex .about-desc {
    padding: 4em 3em;
    overflow: visible;
  }

  /* PC: Owl Carouselを有効化 */
  .page-template-page-profile .owl-carousel3 {
    display: block !important;
  }

  /* 右側カラムのスクロールを解除（スライダーに任せる） */
  .page-template-page-profile .about-flex .col-half:last-child {
    height: 100vh !important;
    overflow: hidden;
  }
}

/* スマホ: 縦並び・自然なスクロール */
@media screen and (max-width: 768px) {
  .page-template-page-profile #colorlib-page {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
  }

  .page-template-page-profile .about-flex {
    display: block !important;
    height: auto !important;
  }

  .page-template-page-profile .about-flex .col-half {
    width: 100% !important;
    height: auto !important;
  }

  .page-template-page-profile .about-flex .about-img {
    height: 250px !important;
    /* 画像の高さを減らしてテキストスペースを確保 */
  }

  .page-template-page-profile .about-flex .about-desc {
    padding: 20px 15px 120px;
    /* 下部にドット・フッター用のスペース */
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .page-template-page-profile .display-t,
  .page-template-page-profile .display-tc {
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    /* table表示を解除して自然な高さに */
  }

  /* スライダーコンテナも高さ制限を解除 */
  .page-template-page-profile .owl-carousel3,
  .page-template-page-profile .owl-carousel3 .owl-stage-outer,
  .page-template-page-profile .owl-carousel3 .owl-stage,
  .page-template-page-profile .owl-carousel3 .owl-item {
    height: auto !important;
    min-height: auto !important;
  }

  .page-template-page-profile #colorlib-footer {
    position: relative;
    padding: 20px 0;
    background: #fff;
  }

  /* スマホ: ドットを下部に表示 */
  .page-template-page-profile .owl-theme .owl-dots {
    bottom: 20px !important;
  }
}

/* 共通: Owl Carousel 3 (Profile Slider) */
.owl-carousel3 {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.owl-carousel3 .owl-item {
  min-height: 1px;
  /* Owlのバグ回避 */
}

/* 共通: Owl Carousel 3 Dots - 確実に横並び中央配置 */
.page-template-page-profile .owl-theme .owl-dots {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  flex-direction: row !important;
  /* 確実に横並び */
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 20 !important;
}

.page-template-page-profile .owl-theme .owl-dots .owl-dot {
  display: inline-block !important;
  margin: 0 5px !important;
  visibility: visible !important;
}

/* 1枚目が見えない問題への対策 */
.owl-carousel3 .owl-stage-outer {
  height: 100% !important;
}

/* 枠内スクロールを解除 - 全体を自然に表示 */
.page-template-page-profile .about-desc {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

/* Works List Styles */
.work-list-item {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.work-list-item .work-img {
  margin-bottom: 0;
}

.work-list-item h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.work-description {
  font-size: 16px;
  line-height: 1.8;
}

@media screen and (max-width: 991px) {
  .work-list-item {
    display: block;
  }

  .work-list-item .col-md-6 {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Owl Carousel3 Navigation Arrows */
.owl-carousel3 .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-carousel3 .owl-nav button.owl-prev,
.owl-carousel3 .owl-nav button.owl-next {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  border-radius: 50%;
  font-size: 24px;
  line-height: 50px;
  text-align: center;
  pointer-events: auto;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.owl-carousel3 .owl-nav button.owl-prev:hover,
.owl-carousel3 .owl-nav button.owl-next:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel3 .owl-nav button.owl-prev {
  left: 20px;
}

.owl-carousel3 .owl-nav button.owl-next {
  right: 20px;
}

.owl-carousel3 .owl-nav button i {
  font-size: 24px;
  line-height: 50px;
}

/* Dots styling */
.owl-carousel3 .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.owl-carousel3 .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.owl-carousel3 .owl-dot.active {
  background: #fff;
}

/* =======================================================
 * Contact Page - Mobile iframe scroll fix
 * ======================================================= */
#colorlib-contact iframe {
  display: block;
  max-width: 100%;
}

/* iframeラッパーのスクロールバーを非表示 */
.contact-form-wrapper {
  -webkit-overflow-scrolling: touch;
}

.contact-form-wrapper::-webkit-scrollbar {
  display: none;
}

.contact-form-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media screen and (max-width: 768px) {

  /* iframeの高さを十分に確保してフォーム全体を表示 */
  #colorlib-contact iframe {
    height: 1500px;
    min-height: 1200px;
    overflow: hidden;
  }

  /* ページ全体のスクロールを確保（Contactページ専用） */
  .page-template-page-contact #colorlib-wrapper,
  .page-template-page-contact #colorlib-wrapper>div {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Contactページ専用のスクロール設定 */
  #colorlib-contact {
    position: relative;
    overflow: visible;
  }

  #colorlib-contact .container {
    padding-bottom: 3em;
  }
}

/* ===========================================
 * Contact Form - Custom Form Styles
 * =========================================== */
.yodax-contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 0;
}

.yodax-contact-form .form-group {
  margin-bottom: 1.5em;
}

.yodax-contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.yodax-contact-form label .required {
  color: #d63638;
}

.yodax-contact-form input[type="text"],
.yodax-contact-form input[type="email"],
.yodax-contact-form select,
.yodax-contact-form textarea {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.yodax-contact-form input[type="text"]:focus,
.yodax-contact-form input[type="email"]:focus,
.yodax-contact-form select:focus,
.yodax-contact-form textarea:focus {
  outline: none;
  border-color: #F9CE00;
  box-shadow: 0 0 0 3px rgba(249, 206, 0, 0.2);
}

.yodax-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.yodax-contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.yodax-contact-form .form-submit {
  text-align: center;
  margin-top: 2em;
}

.yodax-contact-form .submit-button {
  display: inline-block;
  padding: 15px 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #000;
  background: #F9CE00;
  border: 2px solid #F9CE00;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.yodax-contact-form .submit-button:hover {
  background: #000;
  color: #F9CE00;
  border-color: #000;
}

.yodax-contact-form .submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yodax-contact-form .form-message {
  margin-top: 1.5em;
  padding: 15px 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
}

.yodax-contact-form .form-message.success {
  background: #d4edda;
  border: 1px solid #28a745;
  color: #155724;
}

.yodax-contact-form .form-message.error {
  background: #f8d7da;
  border: 1px solid #dc3545;
  color: #721c24;
}

.yodax-contact-form .recaptcha-notice {
  margin-top: 1.5em;
  font-size: 12px;
  color: #999;
  text-align: center;
}

.yodax-contact-form .recaptcha-notice a {
  color: #666;
}

/* reCAPTCHA badge position adjustment */
.grecaptcha-badge {
  visibility: hidden;
}

@media screen and (max-width: 768px) {
  .yodax-contact-form {
    padding: 1em;
  }

  .yodax-contact-form input[type="text"],
  .yodax-contact-form input[type="email"],
  .yodax-contact-form select,
  .yodax-contact-form textarea {
    padding: 12px;
    font-size: 16px;
  }

  .yodax-contact-form .submit-button {
    width: 100%;
    padding: 15px;
  }
}

/* トップページスライダー手動操作無効化 */
#colorlib-hero .owl-carousel {
  cursor: default !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#colorlib-hero .owl-carousel .owl-stage {
  cursor: default !important;
}