/*
Theme Name:テラカント
*/

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&subset=japanese');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

*{
font-family: 'Noto Sans JP', sans-serif;
}
a{
    text-decoration: none;
    color: #333;
}
a:hover {
    color: #CB5336;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
}



/* =========== ヘッダー部分 =========== */
header{
    background-color: rgba(255, 255, 255, 0.6) ;
    height: 80px;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 100;
}
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0px 20px;
    max-width: 1040px;
    margin:0 auto;
}
.header-logo img {
    height: 30px;
    align-items: center;
}
#header-pcmenu{
    display: flex;
}
#header-pcmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
#header-pcmenu ul li {
    margin: 0 8px 0 24px;
}
#header-pcmenu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
#header-pcmenu ul li a:hover {
    color: #CB5336;
}
#header-spmenu-open-btn,
#header-spmenu {
    display: none;
}


/* =========== フッター部分 =========== */
.contact-area{
    width: 100%; 
    background-color: #753534;
}
.contact-area-inner{
    width: 400px; 
    margin: 0 auto; 
    padding: 70px 0; 
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    text-align: center;
}
.footer-left{
    width: 400px;
    text-align: center;
}
.footer-right{
    width: 400px;
    text-align: center;
}
.footer-container img {
    width: 80%;
    max-width: 320px;
    margin: 40px 0;
}
.footer-container p{
    font-size:0.8em;
    text-align: left;
}
.footer-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.footer-container ul li {
    margin: 0 10px;
    width: 130px;
}
.footer-container a{
    font-size: small;
    font-weight: bold;
    color: white;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
}
/* トップに戻るボタン */
#back-to-top {
    display: none;
    position: fixed; 
    width: 60px;
    height: 60px;
    bottom: 20px; 
    right: 30px;
    z-index: 99; 
    border: none;
    outline: none;
    background-color: #888888; 
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 0px;
    font-size: 18px; 
    font-weight: bold;
}
#back-to-top:hover {
    background-color: #888;
}


/* ========= パンくずリスト ========= */
.breadcrumb{
    margin: 0px auto 24px auto;
    text-align: left;
    max-width: 960px; padding-left:16px;
    padding-top: 120px;
}
.breadcrumb a{
    font-weight: bold;
}
.breadcrumb a:hover {
    color: #CB5336;
}



/****** トップページ index.html ******/
.hero {
    position: relative;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust the height as needed */
    overflow: hidden;
}
.hero-mini{
    height: 350px;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.hero-text {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px; 
    font-weight: bolder;
    line-height: 1.2em;
}
.hero-text-mini{
    font-size: 40px;
} 


/****** トップページ 製品紹介 ******/
.index-intro{
    margin: 0 auto;
    background-color: #2e0007;
    color: #fff;
    padding: 40px 0 16px;
}
.index-intro-inner{
    max-width:960px; 
    margin: 16px auto; 
    margin-bottom: 16px; 
    padding-bottom: 24px;
}
.index-intro img{
    width: 100%;
}
.index-main-copy{
    font-size: 40px; 
    font-family: "Noto Serif JP", serif;
    line-height: 2rem;
}
.index-intro p{
    font-family: "Noto Serif JP", serif;
    line-height: 1.6rem;
}






.index-section-header{
    margin: 0 auto;
    max-width: 960px;
}
.index-section-header h2{
    text-align: left;
    font-size: 1.8em;
    color: #3C0009;
    font-family: "Noto Serif JP", serif;
    border-bottom: #3C0009 1px solid;
}

/****** トップページ 製品リスト ******/
.index-products {
    margin: 140px 0px 40px;
}
.index-product-list {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 960px;
}
.index-product-item {
    margin: 15px;
    width: 210px;
}
.index-product-item img {
    width: 100%;
    height: auto;
}
.index-product-item h3{
    font-size: small;
    font-weight: 100;
    color: #a09c9b;
    margin-top: 8px;
}


/****** トップページ 製品特徴 ******/
.index-feature {
    padding: 40px 0px 40px;
    background-color: #F6EFE8;
}
.index-feature-box{
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 960px;
    align-items: center;
}
.index-feature-box img{
    
    
}
.index-feature-box div{
    
    width: 400px;
}
.index-feature-box div h3{
    font-size: 28px;
}
.text-align-left{
    text-align: left;
}
.text-align-right{
    text-align: right;
}

/*ここからしたは古いもの*/
.index-feature-list {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 960px;
}
.index-feature-item {
    margin: 10px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 260px;
    height: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: white;
}
.index-feature-item img {
    width: 100px;
    height: auto;
}
.index-feature-item img, 
.index-feature-item h3 {
    vertical-align: middle;
}
.index-feature-item h3{
    font-family: "lato";
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 32px;
    word-break: keep-all;
}
.index-feature-item p {
    text-align: left;
}




/****** トップページ 動画 ******/
.index-movie {
    margin-top: 40px;
    padding: 40px 0;
    text-align: center;
}
.index-movie-box {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 960px;
    text-align: center; 
    margin: 52px auto; 
    aspect-ratio: 16 / 9;
}
.index-movie-box iframe{
    width:90%; 
    height:90%;
}



/****** トップページ お知らせ ******/
.index-information{
    text-align: center;
    margin: 0 auto 56px;
    font: inherit;
    font-size: 100%;
    line-height: 1.4em;
}
.index-information dl {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
}
.index-information dt{
    width: 20%;
    height: 1.2em;
}
.index-information dd {
    width: 75%;
    text-align: left;
    margin: 0;
}



.CERTIFICATIONS{
    padding-top: 140px;
    padding-bottom: 40px;
}
.certifications-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding : 40px;
}
.certifications-item{
    display: inline-block;
    height: 80px;
    line-height: 80px;
    vertical-align: top;
    text-align: center;
    padding: 8px;
}
.certifications-item img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.examples{
    margin-bottom: 40px;
}


.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    height: auto;
    overflow: hidden;
    flex-direction: row;
}
.slider-wrapper {
    display: flex;
    flex-direction: row;
    animation: slide-flow 35s infinite linear 1s both;
}
.slider{
    width: 300px;
    object-fit: cover;
}
@keyframes slide-flow {
       0% {transform: translateX(0);}
   100% {transform: translateX(-100%);}
}
.slider-paused:hover .slider-wrapper {
    animation-play-state: paused;
}
.slider-paused:hover 
.slider-wrapper img:hover {
    opacity: .8;
    cursor: grabbing;
}













/* 柄・施工一覧ページ共通 */
.boxlist {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.boxlist-item {
    margin: 1rem;
    width: 200px;
}
.boxlist-item img {
    width: 100%;
    height: auto;
}
.boxlist-item h2{
    font-size: 0.9em;
    text-align: center;
    margin: 4px 0;
    line-height: 1em;
    color : #777;
}
.boxlist-item .description{
    font-size: 0.8em;
    text-align: center;
    margin: 4px auto;
    line-height: 1em;
}



/* 製品一覧ページ */
.products-wrapper {
    max-width: 960px;
    padding: 16px;
    margin: 40px auto;
}
.products-speclist{
    margin-top: 40px;
}
.products-speclist ul{
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding-inline-start: 0px;
}
.products-speclist li{
    line-height: 1.6em;
    border-bottom: #888 1px solid;
    padding:12px 8px 8px 16px
}
.products-speclist a:hover{
    background-color: #cfcfcf;
    
}




/* 柄・施工事例singleページ共通 */
.product-detail-img-wrapper{

}
.product-detail-img-container{
    height: 600px;
    min-width: 100%;
    text-align: center;
    overflow: hidden;
}
.product-detail-img-container img{
    object-fit: cover;
    height: 600px;
}
.product-detail-img-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 32px;
    margin-bottom: 40px;
}
.product-detail-img-slider img{
    width: 120px;
    height: 102px;
    padding: 4px;
    object-fit: cover;
}
.product-detail-desc{
    margin: 0 auto;
    max-width: 960px;
}
.product-detail-desc h2{
    text-align: left;
    font-size: 52px;
    color: #333;
}
.product-detail-desc h3{
    text-align: left;
}
.product-detail-desc section {
    margin-top: 140px;
    text-align: center;
}               
.product-detail-feature-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.product-detail-feature-list .feature-item {
    margin: 24px 8px;
    height: 180px;
    width: 130px;
    padding:0 0px
}
.product-detail-feature-list .featured-item img {
    width: 100%;
    height: auto;
}
.product-detail-feature-list .featured-item h4{
    font-size: small;
    font-weight: 100;
    color: #a09c9b;
    margin-top: 8px;
}








/********* 技術資料 **********/
#technical{
    max-width: 900px;
}
#technical h2{
    margin-top: 96px;
    margin-bottom: 40px;
}
#technical img{
    width: 100%;
}



/********* よくあるお問い合わせ **********/
#qa{
    max-width: 900px;
}
#qa dl{
    margin-top: 40px;
    margin-bottom: 40px;
}
#qa dt{
    font-weight: bold;
}
#qa img{
    width: 100%;
}



/********* お問い合わせ **********/
.contact-wrapper{
    margin: 0px auto;
    max-width: 960px;
}
.contact-form{
    width: 80%;
    max-width: 800px;
    text-align: center;
}
.contact-form-item{
    border-top: 1px solid #ddd;
    padding: 24px 24px 24px 24px;
    width: 100%;
    align-items: center;
}
.contact-form-itemtitle{
    width: 100%;
    text-align: left;
    padding: 5px 0 0 0 ;
    margin:0;
}
.contact-form-input{
    width: 100%;
    text-align: left;
    padding: 5px 0 0 0 ;
    margin:0;
}
.contact-main{
    font-size: medium;
    padding-bottom: 10px;
}
.contact-must,
.wpcf7-not-valid-tip,
.wpcf7-response-output,
.screen-reader-response{
    font-size: small;
    color: red;
    padding-left: 16px;
}
.wpcf7-submit{
    background-color: #ccc;
    padding: 10px 40px 10px 40px;
    margin-bottom: 10px;
}


/********* サンプル請求 **********/
.sample-inner{
    width: 900px;
    margin: 0 auto;
    padding-top: 60px;
}
.sample-maintxt{
    font-size: 18px;
}
.catalog-sample-wrapper{
    width: 900px;
    background-color: #f7f7f7;
    border-top: 1px solid #b2b2b2;
    margin-bottom: 30px;
}
.catalog-sample-inner{
    width: 840px;
    margin: 0 auto;
    overflow: hidden;
}
.sample-h3{
    margin-top: 40px;
}
.catalog-sample-box{
    display: flex; 
    flex-wrap: wrap;
}
.sample-request-item{
    margin: 0px 8px 24px;
}
.sample-request-item p{
    margin-top: 8px;
    margin-bottom: 0px;
}
.sample-request-item .img{
    width: 150px;
    height: 150px;
}
.sample-request-item .desc{
    font-size: 12px;
    color: #555;
    line-height: 1em;
}
.sample-request-item select{
    text-align: center;
    width: 50px;
}
.sample-caption{
    font-size: 10px;
    padding: 0 15px 30px 1em;
    text-indent: -1em;
    line-height: 1.3;
    color: red;
}
.required{
    color: red;
    font-size: small;
}
.sample-request-personal-informmation p{
    margin: 0px 0;
    padding: 8px 8px;
}
.sample-request-personal-informmation .head{
    display: inline-block;
    width: 136px;
    font-size: 14px;
    font-weight: bold;
    padding-left: 16px;
}
.sample-request-personal-informmation span{

}
