/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

@charset "utf-8";
/* ==============================
 * color
 * ==============================*/
:root {
  --black: #333;
  --main: #D0B87B;
  --gray: #f0f0f0;
  --gray2: #9D9A97;
}
.text-main {
	color: var(--main) !important;
}
.text-gray {
	color: var(--gray) !important;
}
.text-gray2 {
	color: var(--gray2) !important;
}
.bg-main {
	background-color: var(--main) !important;
}
.bg-gray {
	background-color: var(--gray) !important;
}
.bg-gray2 {
	background-color: var(--gray2) !important;
}
.border-main {
	border-color: var(--main) !important;
}
.border-black {
	border-color: var(--black) !important;
}
.border-gray {
	border-color: var(--gray) !important;
}
.border-gray2 {
	border-color: var(--gray2) !important;
}

/* ==============================
 * aspect
 * ==============================*/
.u-aspect-16-9 img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.u-aspect-4-3 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.u-aspect-1-1 img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ==============================
 * common
 * ==============================*/
html {
scroll-behavior: smooth;
scroll-padding-top: 120px;
}
a, a:hover {
	text-decoration: none;
	color: var(--black);
	transition: all .3s;
}
a:hover {
	color: var(--main);	
}
body {
    /*font-family: "Noto Sans JP", sans-serif;*/
  	font-family: "EB Garamond", serif;
    line-height: 2;
    letter-spacing: 2px;
	font-weight: 400;
}
body p {
	font-weight: 300;
	letter-spacing: 0;
    font-family: "Noto Sans JP", sans-serif;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .mincho-font, p.mincho-font {
  font-family: "EB Garamond", serif;
	font-weight: normal;
	line-height: 1.7;
    letter-spacing: 2px;
}
.gothic-font {
	font-weight: 300;
    font-family: "Noto Sans JP", sans-serif;	
}
figure, img, img.wp-post-image, article img, #secondary img {
	width: 100%;
}
.list-none li {
	list-style: none;
}
.br-pc {
	display: inline;
}
.br-sp {
	display: none;
}
#primary {
	padding-top: 100px;
}

@media only screen and (min-width: 1400px){
	.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1200px;
	}
}
@media only screen and (max-width: 767px){
	html {
	scroll-behavior: smooth;
	scroll-padding-top: 60px;
	}
	.br-pc {
		display: none;
	}
	.br-sp {
		display: inline;
	}

}

/* ==================================
背景画像
===================================== */
.bg_image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ==================================
黒透過
===================================== */
.bg-black-shadow {
    position: relative;
}
.bg-black-shadow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* ==================================
白透過
===================================== */
.bg-white-shadow {
    position: relative;
}
.bg-white-shadow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

/*========================================
ふわっと
========================================*/
.scroll-up {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 1s;
}
.scroll-up.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/*========================================
ローディング画面
========================================*/
#loading {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 99999;
	width: 100%;
	height: 100%;
	background-color: #fff;
}
#loading_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 90%;
}
.loading-txt {
	font-size: 3rem;
	font-weight: bold;
}
.loading-txt.--name {
	font-size: 1rem;	
    letter-spacing: .5px;
}
.loading-txt span {
	animation: rotate 1s infinite linear;
	display: inline-block;
}
@keyframes rotate {
	10% {
		transform: scale(1.1);
	}
}
.loading-txt span:nth-child(2) {
	animation-delay: 0.1s;
}
.loading-txt span:nth-child(3) {
	animation-delay: 0.2s;
}
.loading-txt span:nth-child(4) {
	animation-delay: 0.3s;
}
.loading-txt span:nth-child(5) {
	animation-delay: 0.4s;
}
.loading-txt span:nth-child(6) {
	animation-delay: 0.5s;
}
.loading-txt span:nth-child(7) {
	animation-delay: 0.6s;
}
.loading-txt span:nth-child(8) {
	animation-delay: 0.7s;
}
.loading-txt span:nth-child(9) {
	animation-delay: 0.8s;
}
.loading-txt span:nth-child(10) {
	animation-delay: 0.9s;
}
.loading-txt span:nth-child(11) {
	animation-delay: 1s;
}
.loading-txt span:nth-child(12) {
	animation-delay: 1.1s;
}
.loading-txt span:nth-child(13) {
	animation-delay: 1.2s;
}
.loading-txt span:nth-child(14) {
	animation-delay: 1.3s;
}
.loading-txt span:nth-child(15) {
	animation-delay: 1.4s;
}
.loading-txt span:nth-child(16) {
	animation-delay: 1.5s;
}
@media only screen and (max-width: 690px) {
	#loading {
		display: none;
	}
}

/*========================================
ページトップ
========================================*/
#page-top a{
	position: relative;
	display: block;
	background: #23ADEA;
	border: 1px solid #23ADEA;
	border-radius: 100px;
	width: 60px;
	height: 60px;
	text-transform: uppercase; 
	text-decoration: none;
	font-size: 1rem;
	color: #fff;
	text-align: center;
	transition:all 0.3s;
    padding-top: 5px;
}
#page-top a::after {
    content: "";
    position: absolute;
    top: 70%;
    left: 50%;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(-45deg) translate(-10%, -50%);
    transform: rotate(-45deg) translate(-10%, -50%);
}
#page-top a:hover{
	background: #fff;
	border: 1px solid #23ADEA;
	color: #23ADEA;
}
#page-top a:hover:after {
	border-color: #23ADEA;
}
#page-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}
@media only screen and (max-width: 767px) {
	#page-top {
		right: 10px;
	}	
}

/*========================================
パンくずリスト
========================================*/
.aioseo-breadcrumb a {
	color: var(--black);
	text-decoration: none;
}
.aioseo-breadcrumb a:hover {
	color: var(--main);
}
.aioseo-breadcrumb:last-of-type {
	color: #888;
}

/*========================================
タイトル
========================================*/
.main-title {
	font-size: 2.2rem;
	line-height: 1;
	margin: 0 auto 50px;
	/*padding-left: 10%;
	position: relative;*/
}
.main-title.h3 {
	font-size: 1.8rem;	
}
/*.main-title::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 0px;
    width: 60vw;
    height: 2px;
    background: #333;
}*/
.sub-title {
	font-size: 1.2rem;
}
.page-title {
	position: relative;
}
.page-title::before {
	position: absolute;
	content: "";
	font-size: 1.2rem;
	color: #D0B87B;
	bottom: -1.8rem;
	left: 50%;
	transform: translatex(-50%);
}
.page-about .page-title::before {
	content: "ごあいさつ";
}
.page-works .page-title::before {
	content: "制作実績";
}
.page-contact .page-title::before {
	content: "お問い合わせ";
}

/*========================================
ボタン
========================================*/
.btn-style {
	display: inline-block;	
}
.btn-style a {
    background-color: var(--gray);
	display: inline-block;
	text-decoration: none;
	color: var(--black);
	padding: 20px 40px;
	min-width: 250px;
}
.btn-style a:hover {
    background-color: #ccc;
	color: #fff;
}
.btn-style a span {
	position: relative;
}
.btn-style a span::before {
	position: absolute;
	content: "";
    width: 40px;
    height: 1px;
    top: 50%;
    right: -60.5px;
	background-color: var(--black);
	transition: all .3s;
}
.btn-style a span::after {
	position: absolute;
	content: "";
    width: 12px;
    height: 1px;
    top: 7px;
    right: -60.5px;
	transform: rotate(35deg);
	background-color: var(--black);
	transition: all .3s;
}
.btn-style a:hover span::before, .btn-style a:hover span::after {
	background-color: #fff;
	transition: all .3s;
}
.btn-anker a {
	display: block;
	border: 1px solid var(--gray2);
	background-color: #fff;
	color: var(--black);
	position: relative;
	padding: 12px 30px 12px 20px;
	border-radius: 100px;
	text-align: center;
}
.btn-anker a:hover {
	border: 1px solid var(--main);	
	color: var(--main);
}
.btn-anker a::before {
	position: absolute;
	top: 50%;
	right: 20px;
	content: "";
	display: inline-block;
	vertical-align: middle;
	color: var(--black);
	line-height: 1;
	width: 10px;
	height: 10px;
	border: 2px solid var(--gray2);
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	transform: translateY(-50%) rotate(135deg);
}
.btn-anker a:hover:before {
	border-color: var(--main);
}

/*========================================
header
========================================*/
header {
	position: fixed;
	top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
	transition: all .3s;
}
.wrapper-navbar {
	height: 80px;
	display: block;
}
header ul li {
	padding-left: 1rem;
}
.navbar-brand, .nav-link {
	color: var(--black);
	transition: all .3s;
}
.navbar-brand:hover, .nav-link:hover {
	color: var(--main);
	transition: all .3s;
}

@media only screen and (max-width: 767px){
    header .navbar-toggler {
        display: block;
        position: relative;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border: none !important;
    }
    header .navbar-toggler span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 12px;
        height: 2px;
        background: var(--black);
        width: 50%;
    }
    header .navbar-toggler span:nth-of-type(1) {
        top: 17px;
    }
    header .navbar-toggler span:nth-of-type(2) {
        top: 25px;
    }
    header .navbar-toggler span:nth-of-type(3) {
        top: 33px;
    }
    header .navbar-toggler.active span:nth-of-type(1) {
        transform: translateY(7px) rotate(-45deg);
    }
    header .navbar-toggler.active span:nth-of-type(2) {
        display: none;
    }
    header .navbar-toggler.active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }
}

/*========================================
footer
========================================*/
footer ul {
	padding: 0;
}
footer li {
	list-style: none;
}
footer li a {
	text-decoration: none;
	color: var(--black);
}
footer li a:hover {
	color: var(--main);
}

@media only screen and (max-width: 767px){
	footer li {
		margin-bottom: 1rem;
	}
}

/* ==================================
TOP
===================================== */
#top-index {
	margin-top: 100px;
}
#top-mv .bg-black-shadow::before {
    background-color: rgba(0, 0, 0, 0.2);
}
.catch-copy {
	position: absolute;
	bottom: 7%;
	left: 7%;
	z-index: 10;
	color: #fff;
}
.catch-copy h1 {
	line-height: 1.5;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}
#top-about .btn-style a {
	min-width: unset;
	padding: 10px 40px 20px 20px;
	border: none;
}
#top-about .btn-style a:hover {
	background-color: transparent;
	color: var(--main);
}
#top-about .btn-style a span::before {
    width: 150%;
    top: inherit;
    bottom: -20px;
    right: auto;
    left: -10%;
}
#top-about .btn-style a span::after {
    top: auto;
    right: -40%;
    bottom: -16px;
}
#top-about .btn-style a:hover span::before, #top-about .btn-style a:hover span::after {
	background-color: var(--black);
}
#top-about .btn-anker a::before {
    transform: translateY(-50%) rotate(45deg);
}
.works-list li {
	list-style: none;
}
.works-list li a {
	color: var(--black);
	text-decoration: none;
}
.works-list li a:hover, .works-list li .works-category a:hover {
	color: var(--main);
}
.works-list li .works-category a {
	color: var(--gray2);
	text-decoration: none;
}
.works-thumbnail {
	overflow: hidden;
	width: 100%;
}
.works-thumbnail a img {
  height: auto;
  transition: transform .6s ease;
}
.works-thumbnail a:hover img {
  transform: scale(1.1);
}

@media only screen and (max-width: 992px){
	.top-mv-swiper {
		height: 50vh;
	}
	#top-mv .img-fluid {
		height: 100%;
	}
	#top-mv .swiper-slide img {
		height: 100%;
		object-fit: cover;
	}
	#top-about h3 {
		font-size: 1.2rem;
        line-height: 2;
	}
}

@media only screen and (max-width: 767px){
	.top-mv-swiper {
		height: 70vh;
	}
	#top-about h3 {
		font-size: 1rem;
	}
}

/* ==================================
ごあいさつ
===================================== */
.about-skill .col .material-symbols-outlined {
	font-size: 4rem;
}
.timeline {
  list-style: none;
}
.timeline > li {
    overflow: hidden;
    margin: 0;
 }
.timeline-date {
	  width: 15%;
	  float: left;
	position: relative;
	margin-bottom: 50px;
  	font-family: "EB Garamond", serif;
}
.timeline-date:before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--main);
    position: absolute;
    right: -6px;
	top: 50%;
	transform: translatey(-50%);
    border-radius: 100%;
 }
.timeline-content {
    position: relative;
	  width: 85%;
    float: left;
	  padding-left: 5.5%;
	padding-bottom: 50px;
	font-size: 90%;
}
.timeline-content::before {
	content: "";
	position: absolute;
    left: 0;
    top: 50%;
	transform: translatey(-50%);
	width: 1px;
	height: 110%;
	background-color: var(--main);
}
.timeline > li:last-child .timeline-date, .timeline > li:last-child .timeline-content{
	padding-bottom: 0;
}
.timeline > li:last-child .timeline-content {
	height: 10px;
}
.timeline-content p {
	margin-bottom: 0;
}

@media only screen and (max-width: 992px) {
	.about-block .br-tab {
		display: none;
	}
}
@media only screen and (max-width: 767px) {
	.timeline {
		padding: 0;
	}
	.timeline > li {
		position: relative;
		padding-left: 20px;
	    overflow: visible;
	}
	.timeline > li::before {
		content: "";
		position: absolute;
    	left: 0;
    	top: 50%;
		transform: translatey(-50%);
		width: 1px;
		height: 110%;
		background-color: var(--main);
	}
	.timeline-date {
		width: auto;
    	float: none;
    	margin-right: 0;
    	margin-bottom: 20px;
	}
	.timeline-date:before {
        right: auto;
        left: -25px;		
	}
	.timeline-content {
		width: auto;
    	float: none;
		padding-left: 0;
		padding-bottom: 40px;
	}
	.timeline-content:before {
		display: none;
	}
	.timeline > li:last-child .timeline-content {
		height: auto;
	}
}

/* ==================================
ページネーション
===================================== */
.navigation .nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
    text-align: center;
    margin: 0 auto;
}
.navigation .nav-links .page-numbers {
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
    margin: 0 10px;
    color: var(--white);
	text-decoration: none;
	transition: all .3s;
	border-bottom: 1px solid transparent;
}
.navigation .nav-links .page-numbers:hover {
	border-bottom: 1px solid var(--black);
	transition: all .3s;
}
.navigation .nav-links .page-numbers.current {
	border-bottom: 1px solid var(--black);
    background-color: transparent;
	transition: all .3s;
}
.navigation .nav-links .page-numbers.prev, .navigation .nav-links .page-numbers.next {
	text-decoration: none;
    background-color: var(--gray);	
	border-bottom: none;
}
.navigation .nav-links .page-numbers.prev:hover, .navigation .nav-links .page-numbers.next:hover {
	opacity: .6;
}
.next-arrow, .prev-arrow {
	position: relative;
    width: 100%;
    height: 100%;
}
.prev-arrow::after, .next-arrow::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 1px;
    top: 16.5px;
    left: 6.5px;
    transform: rotate(-35deg);
    background-color: var(--black);
}
.next-arrow::after {
	left: auto;
    right: 6.5px;
    transform: rotate(35deg);
}
.prev-arrow::before, .next-arrow::before {    
	position: absolute;
    content: "";
    width: 60%;
    height: 1px;
    top: 50%;
    left: 20%;
    background-color: var(--black);
}
.next-arrow::before { 
	left: auto;
    right: 20%;
}
.single-navigation .nav-links {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;	
}
.single-navigation .nav-next {
	margin-left: auto;
}
.single-navigation .nav-previous {
	margin-right: auto;
}
.single-navigation .nav-next a, .single-navigation .nav-previous a {
	text-decoration: none;
	position: relative;
	color: var(--black);
}
.single-navigation .nav-next a {
	padding-right: 60px;
}
.single-navigation .nav-previous a {
	padding-left: 60px;
}
.single-navigation .nav-next a:hover, .single-navigation .nav-previous a:hover {
	color: var(--main);	
}
.single-navigation .nav-next a::before, .single-navigation .nav-previous a::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    top: 50%;
    left: 0;
    background-color: var(--black);
}
.single-navigation .nav-next a::before {
	left: auto;
	right: 0;
}
.single-navigation .nav-next a::after, .single-navigation .nav-previous a::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 1px;
    top: 7px;
    left: -0.5px;
    transform: rotate(-35deg);
    background-color: var(--black);
}
.single-navigation .nav-next a::after {
	left: auto;
	right: -0.5px;
    transform: rotate(35deg);
}


/* ==================================
投稿
===================================== */
.w-30 {
	width: 30% !important;
}
.works-table th {
	font-weight: 300;
}
@media only screen and (max-width: 767px) {
	.works-table th, .works-table td {
		display: block;
		width: 100% !important;
	}
	.works-table th {
		background-color: #f5f5f5;
		color: #333 !important;
        text-align: center;
	}
}
	
/* ==================================
お問い合わせ
===================================== */
.page-contact .wpcf7-spinner {
	position: absolute;
}
.page-contact p, .page-contact label {
  	font-family: "EB Garamond", serif;
}
.contact-form {
	padding: 3rem;
	background-color: var(--gray);
}
.contact-form .required {
	color: #ff0000;
}
.page-contact .btn-outline-primary, .wpcf7 input[type=submit] {
    background-color: var(--gray);
    display: inline-block;
    text-decoration: none;
    color: var(--black);
    padding: 20px 40px;
    max-width: 250px;
    border: 1px solid var(--gray);	
	border-radius: 0 !important;
}
.page-contact .btn-outline-primary, .wpcf7 input[type=submit]:hover {
	background-color: var(--bs-light) !important;
    border: 1px solid var(--bs-light) !important;
    color: var(--main) !important;
}
