/*
Theme Name: Carl
Theme URI:
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Carl Brown is Boothstrap 5 HTML Template For Personal Portfolio CV  by TemplatesJungle. 
Version: 1.2
*/
/** Base Styles
--------------------------------------------------------------*/ :root {
  --accent-color: #e66a01;
  --secondary-color: #F5F3EB;
  --dark-color: #241F21;
  --grey-color: #CECBC7;
  --body-text-color: #241F21;
  --light-text-color: #696969;
  --link-color: #241F21;
}
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/** Typography
  --------------------------------------------------------------*/
body {
  font-family: 'Inter', sans-serif;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6em;
  color: var(--body-text-color);
  background-color: var(--secondary-color);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 700;
}
h1, .h1 {
  font-size: 40px;
  font-family: 'Inter', sans-serif;
}
h2, .h2 {
  font-size: 36px;
  font-family: 'Inter', sans-serif;
}
h3, .h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
}
h4, .h4, h5, .h5, h6, .h6 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
}
@media only screen and (max-width: 580px) {
  h1, .h1 {
    font-size: 55px;
  }
  h2, .h2 {
    font-size: 35px;
  }
}
em {
  font-weight: 700;
}
li {
  font-size: 1.2em;
  list-style: none; padding-left: 0; 
}
p.lead-paragraph {
  font-size: 16px;
}
p {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--light-text-color);
  font-size: 16px;
}
a {
  color: var(--gray-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
a.news {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
  cursor: pointer;
  margin-bottom: 20px;
}
a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

ul{
  padding-left:0rem!important;
}
/* primary button  */
button.btn.btn-primary.btn-lg {
  font-size: 16px;
  font-weight: 700;
  padding: 18px 45px;
  /*box-shadow: 0px 25px 45px rgba(242, 102, 73, 0.2);*/
  border-radius: 5px;
  transition: 0.5s;
}
.btn-primary {
  --bs-btn-color: #F5F2EA;
  --bs-btn-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-color: #F5F2EA;
  --bs-btn-hover-bg: var(--dark-color);
  --bs-btn-hover-border-color: var(--dark-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--secondary-color);
  --bs-btn-active-bg: var(--accent-color);
  --bs-btn-active-border-color: var(--accent-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--secondary-color);
  --bs-btn-disabled-bg: var(--accent-color);
  --bs-btn-disabled-border-color: var(--accent-color);
  transition: 0.5s;
}
@media only screen and (max-width: 580px) {
  button.btn.btn-primary.btn-lg {
    width: 158px;
    height: 58px;
  }
}
@media(min-width:800px) {
  .sp {
    display: none !important;
  }
}
/* outline-primary button  */
.btn-outline-primary {
  --bs-btn-color: var(--secondary-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-color: var(--secondary-color);
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--secondary-color);
  --bs-btn-active-bg: var(--accent-color);
  --bs-btn-active-border-color: var(--accent-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--secondary-color);
  --bs-btn-disabled-bg: var(--accent-color);
  --bs-btn-disabled-border-color: var(--accent-color);
}
button.btn.btn-outline-primary {
  border-radius: 30px;
  padding: 18px 28px;
  transition: 0.5s;
}
/* pro button  */
.btn.btn-primary.get-pro:hover {
  background: var(--accent-color);
}
/* mid-break line  */
.mid-break {
  color: #DAD9D4;
  opacity: 0.5;
  height: 1px;
}
/* ---------- navigation bar ---------- */
section.navigation {
  max-width: fit-content;
}
ul.nav.nav-pills {
  background: #FFFFFF;
  display: grid;
  border-radius: 60px;
  width: 119px;
}
.nav-pills .nav-link.active, .nav-pills {
  color: var(--accent-color);
  background-color: transparent;
}
.nav-link {
  color: var(--light-text-color);
}
.nav a.nav-link {
  font-size: 34px;
  padding: 23px 0;
}
.nav {
  padding: 38px 0;
  --bs-nav-link-hover-color: var(--accent-color);
  --bs-nav-link-active-color: var(--accent-color);
}
/* dropdown style  */
.dropdown-item.active, .dropdown-item:active {
  color: var(--body-text-color);
  text-decoration: none;
  background-color: var(--grey-color);
}
.bg-secondary {
  --bs-bg-opacity: 1;
  color: var(--secondary-color);
  background-color: var(--light-text-color) !important;
}
@media only screen and (max-width: 1200px) {
  section.navigation {
    z-index: 99999;
  }
  ul.nav.text-center {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    margin: 0px;
    border-radius: 0px;
    display: flex;
    padding: 0px;
    justify-content: space-evenly;
  }
}
/* ----------  hero section  ---------- */
header {
  background-color: #fff;
  margin-top: 0px;
  padding-bottom: 100px;
}
.container.hero-container {
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}
img.hero-img {
  /*border: 10px solid rgba(242, 102, 73, 0.2);*/
}
header h2 {
  color: var(--secondary-color);
}
header p, a {
  color: var(--gray-color);
}
header p.copyright {
  text-align: center;
  color: #DBD9D1;
  margin-top: 10%;
  font-size: 0.4em;
}
.social-link.active, .social-link.hover {
  color: var(--accent-color);
  background-color: transparent;
}
header.position-fixed {
  height: -webkit-fill-available;
}
/* offcanvas style  */
.offcanvas-btn {
  display: none;
  position: absolute;
  left: 15px;
  top: 10px;
}
.offcanvas-menu {
  position: sticky;
  align: left;
  right: 10px;
  top: 10px;
}
.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
  --bs-offcanvas-zindex: 999999;
}
.offcanvas-body {
  padding: 0px;
}
.offcanvas-header {
  width: 17%;
  background: var(--dark-color);
}
@media only screen and (max-width: 800px) {
  .offcanvas-btn {
    display: block;
  }
  .hero-sidebar {
    display: none;
  }
}
/* ----------  home section  ----------  */
section#home {
  .fade-in {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s, transform 1s;
  }
}
@media only screen and (max-width: 1200px) {
  section#home {
    padding: 230px 0px;
  }
  .logo {
    padding: 16px 0px 0px 18px;
    width: 180px;
  }
}
/* ----------  About Section  ----------  */
.client-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.open-description {
  color: #405C82;
}
a.icon-link {
  font-size: 1rem;
  display: inline-table;
}
a.icon-link:after {
  content: "";
  display: block;
  border-bottom: 1px solid var(--accent-color);
  width: 20%;
  transition: width 0.2s ease-out;
}
a.icon-link:hover:after {
  width: 100%;
}
/* ----------  testimonial section  ----------  */
p.testimonial-location {
  color: var(--accent-color);
}
.card-body {
  padding: 0px;
}
.card {
  --bs-card-border-width: 0px;
  --bs-card-border-color: none;
  --bs-card-border-radius: 0;
  --bs-card-bg: transparent;
}
p.card-text {
  padding-bottom: 12px;
}
/* swiper pagination */
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, var(--body-text-color));
  opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--accent-color));
}
/* ----------  skill section  ----------  */
div#progressbar-tooltip-id {
  overflow: hidden;
}
.ab-progress {
  margin-bottom: 36px;
}
.ab-progress .progress-bar-wrap {
  height: var(--progressbar-height, 6px);
  width: 600px;
  background: #E5E5E5;
}
.ab-progress .ab-progress-bar {
  height: var(--progressbar-height, 6px);
  background: var(--accent-color);
  border-radius: var(--progressbar-radius, 6px);
}
.ab-progress .progress-indicator-inner {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: var(--body-text-color);
  background: transparent;
  transform: translateX(-520%);
}
.ab-progress .down-arrow {
  border-top: 0px solid var(--progress-indicator-background, var(--clr-dark));
}
@media only screen and (max-width: 580px) {
  .ab-progress .progress-bar-wrap {
    width: 350px;
  }
  .ab-progress .progress-indicator-inner {
    transform: translateX(-100%);
  }
}
/* ----------  portfolio section  ----------  */
button.filter-button {
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--light-text-color);
  padding-right: 22px;
}
button.filter-button.active {
  color: var(--accent-color);
}
button.filter-button:hover {
  color: var(--accent-color);
}
img.portfolio-img {
  width: -webkit-fill-available;
}
.item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background-color: #222;
}
.item .description {
  position: absolute;
  bottom: -60px;
  left: 30%;
  z-index: 5;
  color: #fff;
  transition: all .7s ease-in-out;
  -webkit-transition: all .7s ease-in-out;
  -moz-transition: all .7s ease-in-out;
  -o-transition: all .7s ease-in-out;
  transition: all .7s ease-in-out;
}
img {
  opacity: 1;
  transition: 0.3s ease-in;
}
.item:hover img {
  opacity: 0.6;
}
.item:hover .description {
  transform: translateY(-100px);
}
@media only screen and (max-width: 580px) {
  .item {
    margin-left: 40px;
  }
  .logo {
    padding: 6px 0px 0px 0px;
    width: 90px;
  }
}
/* ----------  blog section  ----------  */
.blog-description {
  color: var(--body-text-color);
}
img.post-image {
  width: -webkit-fill-available;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
img.post-image:hover {
  transform: scale(1.1);
  will-change: transform;
  z-index: 0;
}
.image-holder {
  overflow: hidden;
  border-radius: 15px;
}
a.image-hvr-effect {
  border-radius: 15px;
}
.post-item {
  margin: 20px;
}
article.blog-article {
  margin-bottom: 70px;
}
.blog-swipe {
  padding: 10px;
}
.blog-swipe.active {
  color: var(--accent-color);
}
.blog-swipe iconify-icon {
  padding-top: 6px;
  color: #A4A4A4;
}
/* ----------  contact section  ----------  */
.contact-list {
  border: 1px solid #F26649;
  border-radius: 15px;
  width: 237px;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}
p.contact-paragraph {
  margin: 0px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: var(--body-text-color);
}
.form-control {
  border: 1px solid transparent;
  height: 60px;
}
.form-radio {
  border: 1px solid transparent;
  width: 20px;
  /*height: 20px;*/
  margin: 0px 5px 0px 0px;
}
@media only screen and (max-width: 900px) {
  .contact-list {
    border: 1px solid #F26649;
    border-radius: 15px;
    width: 237px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0px;
  }
}
/*--------------------------------------------------------------
faqs section style start
--------------------------------------------------------------*/
.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
  font-size: 1rem;
  color: var(--secondary-color);
  text-align: left;
  background-color: var(--dark-color);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: var(--bs-accordion-transition);
}
.accordion-button:not(.collapsed) {
  color: var(--secondary-color);
  background-color: var(--dark-color);
}
.accordion-button:focus {
  z-index: 3;
  border-color: var(--bs-black);
  outline: 0;
  box-shadow: var(--bs-black);
}
.accordion {
  --bs-accordion-btn-icon: url('https://api.iconify.design/eva/arrow-up-fill.svg?color=white');
  --bs-accordion-btn-active-icon: url('https://api.iconify.design/eva/arrow-up-fill.svg?color=white');
}
/*--------------------------------------------------------------
reviews section style start
--------------------------------------------------------------*/
.reviews-components {
  box-shadow: 2px 8px 10px rgba(12, 12, 12, 0.06);
  border-radius: 9px;
}
iconify-icon.quote {
  font-size: 60px;
  color: var(--accent-color);
}
.rate {
  color: var(--accent-color);
}
/*--------------------------------------------------------------
team section style start
--------------------------------------------------------------*/
.heading-color {
  color: var(--accent-color);
}
.mainIgm {
  width: 100%;
  margin-top: -90px;
}
.required {
  color: red;
}
/* ANCHOR */
.toTop {
  width: 30px;
  position: fixed;
  opacity: 0.53;
  bottom: 30px;
  right: 20px;
  padding: 0;
  text-align: right;
  line-height: 1em;
  z-index: 9999;
}
.social-icon-middle {
  vertical-align: middle;
}
.info-title {
  font-weight: normal;
  font-size: 1.0em;
  color: #666;
}
.meta-date {
  margin-bottom: 0px;
  color: var(--gray-color);
  font-family: Georgia, "Times New Roman", Times, "serif";
  margin-right: 10px;
}
.meta-date-new {
  margin-bottom: 0px;
  font-size: 0.9em;
  color: var(--clr-light-green);
  font-family: Georgia, "Times New Roman", Times, "serif";
  margin-left: 10px;
}
.credit {
  font-size: 12px;
  text-align: center;
}
.adress {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.offcanvas-btn-type {
  position: absolute;
  left: 15px;
  top: 80px;
}
.form-title {
  margin-bottom: 10px;
  color: var(--gray-color);
}
.logotype {
  padding: 16px 0px 0px 18px;
  width: 200px;
}
}
.new {
  font-size: 0.6em !important;
  background-color: #000 !important;
  color: #fff !important;
}
.newsImg {
  width: 45%;
}
.slide {
  padding: 0px 10px 0px 0px;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pcimg {
  display: block !important;
}
.spimg {
  display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 900px) {
  .pcimg {
    display: none !important;
  }
  .spimg {
    display: block !important;
  }
}
/* もっとよむの実装20240126 */
.txt-hide {
  display: none;
}
button.more {
  width: 120px;
  margin: 10px auto;
  display: block;
  background-color: #999;
  color: #fff;
  padding: 10px 15px;
  border: none;
  outline: 0;
  transition: .5s;
  -erbkit-transition: .5s;
}
button.more::after {
  content: "もっと見る";
  transition: .2s;
  -erbkit-transition: .2s;
}
button.more.on-click::after {
  content: "閉じる";
}
/* スマホの時だけ改行させるクラス*/
.br-sp {
  display: none;
}
@media (max-width: 800px) {
  .br-sp {
    display: block;
    margin-top: 20px;
  }
  .newsImg {
    width: 320px;
  }
  .readmore-content {
    position: relative;
    height: 700px;
    overflow: hidden;
  }
}
/* もっとよむ　*/
.readmore {
  position: relative;
  margin: 10px auto 0;
  padding: 0 0 75px;
}
.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 8px 0;
  color: #888;
  text-align: center;
  border: solid 1px #888;
  border-radius: 5px;
  /*background-color: #333;*/
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}
.readmore label::before {
  content: '続きを見る';
}
.readmore input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}
.readmore input[type="checkbox"] {
  display: none;
}
.readmore-content {
  position: relative;
  height: 600px;
  overflow: hidden;
    line-height: 1.4;
    margin-bottom: 10px;
}
.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}

.readmore-content::before {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  left: 0;
  ß width: 100%;
  height: 75px;
  /*background: linear-gradient( rgba(245,243,235,0) 0%, rgba(245,243,235,0.8) 50%, #F5F3EB 100%);*/
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, #fff 100%);
}

.readmore input[type="checkbox"]:checked ~ .readmore-content::before {
  display: none;
}

.goods {
    max-width:100%!important;
}
