/*****************************************
Colors:
- Backgrounds, navbar - dark gray #171310
- Backgrounds - light gray #eaeaea
- Headings text, buttons - black #333333
- Body text - dark gray #6b747b
******************************************/


/* GENERAL STYLES */
body,
html {
  width: 100%;
	height: 100%;
	background-color: #171310;
}
body, p {
	font: 500 1rem/1.625rem "Noto Sans JP", serif;
}
.p-large {
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.p-small {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
.li-space-lg li {
	margin-bottom: 0.5rem;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: inherit;
	text-decoration: none;
}
.no-line {
	text-decoration: none;
}
.no-line:hover {
	text-decoration: none;
}
a.white {
	color: #ffffff;
}
.text-white {
	color: #ffffff;
}
.text-black {
	color: #333;
}
.bg-black {
	background-color: #171310;
}
.bg-gray {
	background-color: #eaeaea;
}
figure img {
	width: 100%;
	border-radius: 1rem;
}
figcaption {
	padding-top: .5em;
	font-family: 'Noto Serif JP';
	text-align: center;
	color: #ccc;
}

.btn-solid-reg {
	display: inline-block;
	padding: 1.375rem 2.25rem 1.375rem 2.25rem;
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-solid-reg:hover {
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
	text-decoration: none;
}

.btn-solid-lg {
	display: inline-block;
	padding: 1.5rem 2.5rem 1.5rem 2.5rem;
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-solid-lg:hover {
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
	text-decoration: none;
}

.btn-outline-reg {
	display: inline-block;
	padding: 1.375rem 2.25rem 1.375rem 2.25rem;
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-reg:hover {
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	text-decoration: none;
}

.btn-outline-lg {
	display: inline-block;
	padding: 1.5rem 2.5rem 1.5rem 2.5rem;
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-lg:hover {
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	text-decoration: none;
}

.btn-outline-sm {
	display: inline-block;
	padding: 1rem 1.5rem 1rem 1.5rem;
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-sm:hover {
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	text-decoration: none;
}

.form-group {
	position: relative;
	margin-bottom: 1.25rem;
}

.form-group.has-error.has-danger {
	margin-bottom: 0.625rem;
}

.form-group.has-error.has-danger .help-block.with-errors ul {
	margin-top: 0.375rem;
}

.label-control {
	position: absolute;
	top: 0.875rem;
	left: 1.375rem;
	color: #6b747b;
	opacity: 1;
	font-size: 0.875rem;
	line-height: 1.375rem;
	cursor: text;
	transition: all 0.2s ease;
}

.form-control-input:focus + .label-control,
.form-control-input.notEmpty + .label-control,
.form-control-textarea:focus + .label-control,
.form-control-textarea.notEmpty + .label-control {
	top: 0.125rem;
	color: #6b747b;
	opacity: 1;
	font-size: 0.75rem;
	font-weight: 700;
}

.form-control-input,
.form-control-select {
	display: block; /* needed for proper display of the label in Firefox, IE, Edge */
	width: 100%;
	padding-top: 1.125rem;
	padding-bottom: 0.125rem;
	padding-left: 1.3125rem;
	border: 1px solid #6b747b;
	background-color: #ffffff;
	color: #333333;
	font-size: 0.875rem;
	line-height: 1.875rem;
	transition: all 0.2s;
	appearance: none; /* removes inner shadow on form inputs on ios safari */
}

.form-control-select {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	height: 3.25rem;
	color: #7d838a;
}

select {
    /* you should keep these first rules in place to maintain cross-browser behavior */
    -webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url('../images/down-arrow.png');
    background-position: 96% 50%;
    background-repeat: no-repeat;
    outline: none;
}

.form-control-textarea {
	display: block; /* used to eliminate a bottom gap difference between Chrome and IE/FF */
	width: 100%;
	height: 14rem; /* used instead of html rows to normalize height between Chrome and IE/FF */
	padding-top: 1.5rem;
	padding-left: 1.3125rem;
	border: 1px solid #6b747b;
	background-color: #ffffff;
	color: #333333;
	font-size: 0.875rem;
	line-height: 1.5rem;
	transition: all 0.2s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
	border: 1px solid #a8b0b6;
	outline: none; /* Removes blue border on focus */
}

.form-control-input:hover,
.form-control-select:hover,
.form-control-textarea:hover {
	border: 1px solid #a8b0b6;
}

.checkbox {
	font-size: 0.75rem;
	line-height: 1.25rem;
}

input[type='checkbox'] {
	vertical-align: -10%;
	margin-right: 0.5rem;
}

.form-control-submit-button {
	display: inline-block;
	width: 100%;
	height: 3.25rem;
	border: 1px solid #333333;
	background-color: #333333;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0;
	cursor: pointer;
	transition: all 0.2s;
}

.form-control-submit-button:hover {
	border: 1px solid #333333;
	background-color: transparent;
	color: #333333;
}

/* Fade-move Animation For Details Lightbox - Magnific Popup */
/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
	opacity: 0;
	transition: all 0.2s ease-out;
	-webkit-transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
	-ms-transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
	transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: translateY(0) perspective(37.5rem) rotateX(0); 
	-ms-transform: translateY(0) perspective(37.5rem) rotateX(0); 
	transform: translateY(0) perspective(37.5rem) rotateX(0); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
	opacity: 0;
	-webkit-transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg); 
	-ms-transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg); 
	transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg); 
}

/* dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}
/* end of fade-move animation for details lightbox - magnific popup */

/* Fade Animation For Image Lightbox - Magnific Popup And Morphtext */
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.fadeIn {
	-webkit-animation: fadeIn 0.6s;
	animation: fadeIn 0.6s;
}

@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.fadeOut {
	-webkit-animation: fadeOut 0.8s;
	animation: fadeOut 0.8s;
}
/* end of fade animation for image lightbox - magnific popup and morphtext */



/* ======================================================= */
/* ======================================================= */
/* COMMON STYLES    ====================================== */
/* ======================================================= */
/* ======================================================= */


h1 {
	text-align: right;
	color: white;
	font: 900 3rem/1em "Noto Sans JP", serif;
}
h2 {
	text-align: left;
	color: white;
	font: 800 1.5rem/1em "Noto Sans JP", serif;
}
p {
	color: #E8E1DC;
}


/* NAVIGATION */
.navbar {
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
	background-color: rgba(23, 19, 16, .85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 0.875rem;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
}
.navbar .navbar-brand {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}
.navbar .logo-image img {
	height: 32px;
}
.navbar .logo-text {
	color: #ffffff;
	font-weight: 600;
	font-size: 2rem;
	line-height: 1rem;
	text-decoration: none;
}
.offcanvas-collapse {
	position: fixed;
	top: 3.25rem; /* adjusts the height between the top of the page and the offcanvas menu */
	left: 100%;
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	visibility: hidden;
	transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
}
.offcanvas-collapse.open {
	visibility: visible;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	background: #14100e;
}
.navbar .navbar-nav {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: rgba(23, 19, 16, .85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.navbar .nav-item .nav-link {
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: #c4c2c2;
	text-decoration: none;
	transition: all 0.2s ease;
	border-bottom: 2px solid white;
}
.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link.active {
	color: #ffffff;
}
.navbar .navbar-toggler {
	padding: 0;
	border: none;
	font-size: 1.25rem;
}

#about,
#roots,
#history,
#company,
#fields,
footer {
	padding-left: .5rem;
	padding-right: .5rem;
}

/*******************/
/*     Contact     */
/*******************/
.form-1 .left-wrapper {
	background: url("../images/background-dots.png") #3b363c;
    background-blend-mode: color-burn;
}

.form-1 .left-wrapper .text-container {
	padding-top: 7rem;
	padding-bottom: 5rem;
}

.form-1 .left-wrapper h2 {
	color: #ffffff;
	margin-bottom: 1.5rem;
}

.form-1 .left-wrapper p {
	margin-bottom: 2.75rem;
	color: #ffffff;
}

.form-1 .left-wrapper .contact-container {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2.75rem;
	color: #ffffff;
}

.form-1 .left-wrapper .contact-icon img {
	width: 30px;
	opacity: 0.5;
}

.form-1 .left-wrapper .contact-text {
	flex: 1;
	margin-left: 0.75rem;
}

.form-1 .right-wrapper {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("../images/contact-right-background.jpg") center;
	background-size: cover;
}

.form-1 .right-wrapper .form-container {
	padding-top: 7rem;
	padding-bottom: 7rem;
}

.form-1 .form-control-input,
.form-1 .form-control-textarea {
	background-color: transparent;
}

/* HOME */
#home {
	height: 800px;
	background-image: url(../img/bgphoto-fukiya.jpg);
	background-size: cover;
	background-position-x: center;
	background-position-y: center;
}
#home h1 {
	text-align: center;
	margin: 320px 0 32px;
}
#hero_logo {
	width: 320px;
}
#hero_nav .col-sm {
	margin-bottom: 25px;
}
#hero_nav a {
	padding: 0 0 .5rem;
	color: white;
	border-bottom: 2px solid #ccc;
	white-space: nowrap;
}

/* ABOUT */
#about {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 10rem;
}
#about h1 {
	margin: 0 0 2em;
	padding: 0;
}
#about p {
	margin: 0 0 2.4em;
	padding: 0;
	font: 500 1.2rem/2em "Noto Serif JP", serif;
}
#about p img {
	width: 100%;
	border-radius: 1rem;
}

/* ROOTS */
#roots {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 7.5rem;
	background-image: url(../img/nagaoya-logo-hex-white-a10.svg);
	background-repeat: no-repeat;
	background-position-x: -250px;
	background-size: 750px;
}
#roots h1 {
	margin: 0 0 2em;
	padding: 0;
}
#roots h2 {
	margin: 0 0 1em -.4em;
	padding: 0 0 0 3.5em;
	line-height: 1.5em;
	background-image: url(../img/hex.svg);
	background-repeat: no-repeat;
	background-position-x: left;
}
#roots h2.present {
	background-image: url(../img/nagaoya-logo-hex-white.svg);
}
#roots p {
	margin: 0 0 2.4em;
	padding: 0 0 0 2em;
	border-left: 2px solid #eee;
	font: 500 1.2rem/2em "Noto Serif JP", serif;
}
#roots p img {
	width: 100%;
	border-radius: 1rem;
}
#roots figure {
	margin-bottom: 2rem;
}
#history {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	background: linear-gradient(to bottom, #171310 85%, white 100%);
}
#history h1 {
	margin: 0 0 1em;
	padding: 0;
}
#history table {
	color: #E8E1DC;
	font-size: 1.2rem;
}
#history thead {
	border-bottom: 2px solid gray;
}
#history table td {
	font-family: 'Noto Serif JP';
}
#history figure {
	margin-bottom: 2rem;
}
#history .familytree {
	margin-top: 5rem;
	padding: 0 2rem;
	width: 100%;
}

/* COMPANY */
#company {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 2.5rem;
	background-image: url(../img/nagaoya-logo-hex-white-a10.svg);
	background-repeat: no-repeat;
	background-position-x: -250px;
	background-size: 750px;
}
#company h1 {
	margin: 0 0 2em;
	padding: 0;
}
#message {
	margin-bottom: 5rem;
}
#company h2 {
	margin: 0 0 1em 0;
	padding: 0;
}
#company p {
	margin: 0 0 1em;
	padding: 0;
	font: 500 1.2rem/2em "Noto Serif JP", serif;
}
#company p.annotation {
	color: rgb(160,160,160);
}
#company p img {
	width: 100%;
	border-radius: 1rem;
}
#company figure {
	margin-bottom: 2rem;
}
#company table {
	color: white;
}
#company .googlemap {
	margin: 1em 0;
	border-radius: 1em;
}
#company tr:first-child * {
	border: none;
}
#company th {
	white-space: nowrap;
}
#company td {
	font-family: "Noto Serif JP", serif;
}

/* FIELDS */
#fields {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 10rem;
	background-image: url(../img/nagaoya-logo-hex-white-a10.svg);
	background-repeat: no-repeat;
	background-position-x: -250px;
	background-size: 750px;
}
#fields h1 {
	margin: 0 0 2em;
	padding: 0;
}
#fields h2 {
	margin: 1em 0 1em;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 800;
}
#fields p.lead {
	margin: 0 0 2.4em;
	padding: 0;
	font: 500 1.2rem/2em "Noto Serif JP", serif;
}
#fields a {
	display: block;
}
#fields a:hover {
	display: block;
	border-radius: 1em;
	box-shadow: 0 0 .2em #7d838a;
}
.websnaps {
	width: 100%;
	border-radius: 1em;
}
#fields .description {
	margin: 0 0 1em;
	padding: 0;
}


/* FOOTER */
footer {
	padding-top: 2.5rem;
	padding-bottom: 1.75rem;
	text-align: center;
}
footer h1 {
	text-align: left;
	font-size: 1.2rem;
}
footer .address {
	font-size: 1rem;
}
footer .copyright {
	margin: 0 0 2rem;
	padding: 0;
	font-size: 0.8rem;
}
footer .logo {
	margin: 2rem 0;
	width: 250px;
}
footer.text-black h1,
footer.text-black .address,
footer.text-black .copyright {
	color: #3b363c;
}

/* BACK TO TOP BUTTON */
a.back-to-top {
	position: fixed;
	z-index: 999;
	right: 22px;
	bottom: 22px;
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 30px;
	background: #3b363c url("../img/up-arrow.png") no-repeat center 47%;
	background-size: 18px 18px;
	text-indent: -9999px;
}
a:hover.back-to-top {
	background-color: #000000;
}



/* ======================================================= */
/* ======================================================= */
/* Min-width 768px ======================================*/
/* ======================================================= */
/* ======================================================= */

/* Min-width 768px */
@media (min-width: 768px) {

	/* Header */
	.header .left-wrapper .text-container {
		padding-top: 11.5rem;
		padding-bottom: 10rem;
	}

	.header .left-wrapper .text-container:before {
		top: 120px;
	}
	
	.header .left-wrapper .text-container:after {
		bottom: 110px;
	}

	.header .left-wrapper h2 {
		width: 45rem;
		margin-right: auto;
		margin-left: auto;
		font-size: 2.125rem;
		line-height: 2.875rem;
	}

	.header .right-wrapper .h1-large {
		letter-spacing: 8px;
	}
	/* end of header */


	/* Details 1 */
	.basic-2 .image-container {
		top: -80px;
		right: -300px;
	}
	/* end of details 1 */
	
	
	/* Details 1 */
	.basic-3 .image-container {
		top: -80px;
		left: -300px;
	}
	/* end of details 1 */
	
	.form-1 .left-wrapper .contact-text {
		margin-left: 1.5rem;
	}
	/* end of contact */

	#about,
	#roots,
	#history,
	#company,
	#fields,
	footer {
		padding-left: 0;
		padding-right: 0;
	}
	
	#history .familytree {
		margin-top: 5rem;
		padding: 0 7.5rem;
		width: 100%;
	}
}
/* end of min-width 768px */



/* ======================================================= */
/* ======================================================= */
/* Min-width 992px ======================================*/
/* ======================================================= */
/* ======================================================= */

/* Min-width 992px */
@media (min-width: 992px) {
	
	/* General Styles */
	.h1-large {
		font-size: 3.5rem;
		line-height: 3.375rem;
	}

	.h2-heading {
		width: 35.25rem;
		margin-right: auto;
		margin-left: auto;
	}

	.p-heading {
		width: 42.5rem;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of general styles */


	/* NAVIGATION */
	.navbar {
		padding-top: 1.75rem;
		box-shadow: none;
		transition: all 0.2s;
	}
	.navbar.top-nav-collapse {
		padding-top: 0.625rem;
		padding-bottom: 0.625rem;
		background-color: rgba(23, 19, 16, .85);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		/* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025); */
	}
	.offcanvas-collapse {
		position: static;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		padding-right: 0;
		padding-left: 0;
		background-color: transparent;
		overflow-y: visible;
		visibility: visible;
	}
	.offcanvas-collapse.open {
		-webkit-transform: none;
		transform: none;
	}
	.navbar .navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
		background-color: transparent;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		}
	.navbar .nav-item .nav-link {
		padding-right: 0;
		padding-left: 0;
		margin-right: 1em;
		margin-left: 1em;
		color: white;
	}
	.navbar .nav-item .nav-link:hover,
	.navbar .nav-item .nav-link.active {
		color: #b4b4b4;
	}
	.navbar.top-nav-collapse .nav-item .nav-link {
		color: #c4c2c2;
	}
	.navbar.top-nav-collapse .nav-item .nav-link:hover,
	.navbar.top-nav-collapse .nav-item .nav-link.active {
		color: #ffffff;
	}
	#hero_nav {
		display: none;
	}
	#home h1 {
		margin-top: 350px;
	}

	/* Header */
	.header .left-wrapper .text-container {
		padding-top: 15rem;
		padding-bottom: 13rem;
	}

	.header .right-wrapper .text-container {
		padding-top: 3.375rem;
		padding-bottom: 3rem;
	}
	/* end of header */
	

	/* Services */
	.basic-1 .services-container {
		display: flex;
		align-items: flex-start;
		margin-right: 2rem;
		margin-left: 2rem;
	}

	.basic-1 .services-text {
		flex: 1;
		margin-left: 2rem;
	}
	/* end of services */


	/* Details 1 */
	.basic-2 .text-container {
		width: 720px;
	}
	
	.basic-2 .image-container {
		right: -100px;
	}
	/* end of details 1 */


	/* Details 2 */
	.basic-3 .text-container {
		width: 720px;
		margin-right: 0;
		margin-left: auto;
	}
	
	.basic-3 .image-container {
		left: -100px;
	}
	/* end of details 2 */

	#history .familytree {
		margin-top: 5rem;
		padding: 0;
		width: 100%;
	}

}
/* end of min-width 992px */



/* ======================================================= */
/* ======================================================= */
/* Min-width 1200px ====================================== */
/* ======================================================= */
/* ======================================================= */



/* Min-width 1200px */
@media (min-width: 1200px) {

	/* General Styles */
	.h1-large {
		font-size: 4.5rem;
	}
	/* end of general styles */

	
	/* NAVIGATION */
	.navbar .container {
		max-width: 100%;
		padding-right: 1.5rem;
		padding-left: 1.5rem;
	}

	/* HEADER */
	.header .left-wrapper .text-container {
		padding-top: 23rem;
		padding-bottom: 23rem;
	}
	.header .left-wrapper .text-container:before {
		top: 300px;
		left: 70px;
	}
	.header .left-wrapper .text-container:after {
		bottom: 320px;
		right: 70px;
	}
	.header .left-wrapper h2 {
		width: 29rem;
	}
	.header .right-wrapper .text-container {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		padding: 0;
	}
	.header .right-wrapper .h1-large {
		margin-bottom: 1.875rem;
	}

	/* SERVICES */
	.basic-1 .services-container {
		margin-right: 3rem;
		margin-left: 4rem;
	}
	.basic-1 .services-icon img {
		width: 80px;
	}

	/* Details 1 */
	.basic-2 {
		padding-top: 17rem;
		padding-bottom: 13rem;
	}

	.basic-2 .text-container {
		width: 640px;
		margin-left: 4rem;
	}

	.basic-2 .image-container {
		top: -145px;
		right: 60px;
		width: 500px;
	}
	/* end of details 1 */


	/* Details 2 */
	.basic-3 {
		padding-top: 15rem;
		padding-bottom: 18rem;
	}

	.basic-3 .text-container {
		width: 640px;
		margin-right: 4rem;
	}

	.basic-3 .image-container {
		top: -145px;
		left: 60px;
		width: 500px;
	}
	/* end of details 2 */


	/* CONTACT */
	.form-1 .left-wrapper .text-container {
		width: 29rem;
		margin-right: auto;
		margin-left: auto;
	}

	.form-1 .right-wrapper .form-container {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		padding: 0;
	}
	
	.form-1 .right-wrapper .form-container form {
		width: 40rem;
		margin-right: auto;
		margin-left: auto;
	}	
}




/* COMPANY */
.contact {
	margin: 0;
	padding-top: 10rem;
	padding-bottom: 2.5rem;
	background-image: url(../img/nagaoya-logo-hex-white-a10.svg);
	background-repeat: no-repeat;
	background-position-x: -250px;
	background-size: 750px;
}
.contact h1 {
	margin: 0 0 2em;
	padding: 0;
}
#message {
	margin-bottom: 5rem;
}
.contact h2 {
	margin: 0 0 1em 0;
	padding: 0;
}
.contact p {
	margin: 0 0 1em;
	padding: 0;
	font: 500 1.2rem/2em "Noto Serif JP", serif;
}
.contact p.annotation {
	color: rgb(160,160,160);
}
.contact p img {
	width: 100%;
	border-radius: 1rem;
}
.contact figure {
	margin-bottom: 2rem;
}
.contact table {
	color: white;
}
.contact .googlemap {
	margin: 1em 0;
	border-radius: 1em;
}
.contact tr {
    display: flex;
    flex-direction: column;
}
.contact tr:first-child * {
	border: none;
}
.contactth {
	white-space: nowrap;
}
.contact td {
	font-family: "Noto Serif JP", serif;
}
.contact td ,.contact th {
	width: 100%;
}
.contact td input {
	width: 100%;
}
.contact td textarea {
	width: 100%;
}



.btn_form{
    display: flex;
    margin: 1rem;
    justify-content: center;
	input{
		margin: 0 1rem;
	}
}
.hiss{
	margin-left: 1rem;
}


@media (min-width: 768px) {
.contact td input {
           width: auto;

}
	.contact tr {
       display: table-row;

}

	
}

/* end of min-width 1200px */

.profile-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
	margin: 2rem 0;
}
@media (max-width: 768px) {
	.profile-container{
		flex-direction: column;
		text-align: center;
	}
}
.profile-image{
	margin-right: 2rem;
}
@media (max-width: 768px) {
	.profile-image{
		margin-right: 0;
	}
}
.profile-text{

	a{
		color: #000;
		text-decoration: none;
		background: #ffffff;
		padding: 7px 11px;
		border-radius: 7px;
		display: inline-block;
	}
}
.profile-name{
    font-size: 2rem;
    font-weight: bold;
	line-height: 2;
    color: #fff;
	font-family: "Noto Serif JP", serif;
}


@charset "UTF-8";

/* 
=====================================
モーダル
-------------------------------------
*/

.m_modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* 黒背景の設定 */
.m_modal_bg {
    background: rgba(0, 0, 0, 0.6);
    height: 100vh;
    width: 100%;
}

/* ウィンドウの設定 */

.m_modal_content {
    background: #fff;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
	overflow-y: scroll;
	max-height: 90%;

    &._sm {
        width: 30%;
    }

    &._md {
        width: 50%;
    }

    &._lg {
        width: 70%;
		@media (max-width: 768px) {
			width: 95%;
		}

    }
}

.m_modal_content_inner {
    position: relative;
    padding: 24px;
}

/* 閉じるボタン */
.m_modal_close {
    position: absolute;
    top: 13px;
    right: 10px;
    background: #000000;
    padding: 1rem 2rem;
    display: block;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
}

.p_memShoku dl {
    border-bottom: 1px solid #CCCCCC;
    display: flex;
	@media (max-width: 768px) {
		flex-direction: column;
	}
}
.p_memReadTxtGaku{
	margin: 0 0 20px;
	padding: 0;
	li{
		margin: 0;
		list-style: none;
	}
}
.p_memRead {
    display: flex;
    margin-bottom: 3rem;
	@media (max-width: 768px) {
		flex-direction: column;
	}
}
.p_memReadImg{
	margin-right: 2rem;
	@media (max-width: 768px) {
		margin-right: 0;
		margin-bottom: 2rem;
	}
}
.p_memShoku dl dt, .p_memShoku dl dd {
    padding: 1rem 1rem 1rem 0rem;
	@media (max-width: 768px) {
		padding: 0;
	}
}
.p_memReadTxtName {
    margin-bottom: 20px;
}
.p_memReadTxtNameJp {
    font-size: 2rem;
    font-weight: 500;
    margin-right: 1rem;
}
.p_mem{
    &Box{
        display: flex;
        margin-bottom: 3rem;
        @include media(tablet-down){
            display: block;
        }

    }
    &Read{
        display: flex;
        margin-bottom: 3rem;
        @include media(tablet-down){
            display: block;
        }
        &Face{
            margin-left: 1rem;
			a{
			display: inline-block;
			}
        }
        &Img{
            width: 35%;
            margin: 0 2rem 0 0;
            @include media(tablet-down){
                 width: 100%;   
            }
            img{
                width: 300px;
                height: auto;
                border: 1px solid #CCCCCC;
                padding: 1px;
				@include media(tablet-down){width: 170px;}

            }
			@include media(tablet-down){
				text-align: center;
				margin-right: 0;
				margin-bottom: 2rem;
			}

        }
        
        &Pro{
            width: 75%;
            margin: 0 2rem 0 0;
            @include media(tablet-down){
                 width: 100%;   
            }
        }
        &Txt{
            &Yaku{
                margin: 0 0 0 0;
            }
            &Name{
                margin-bottom: 20px;
                &Jp{
                    font-size: 3rem;
                    font-weight: 500;
                    margin-right: 1rem;
                }
                &En{
                    
                }
            }
            &Gaku{
                
            }
        }
        
        
    }
    
    &Shoku{
        &Box{
            background: #f5f5f5;
            padding: 2rem;
            p{
                margin-bottom: 2rem;
            }
        }
        &Txt{
            margin-top: 2rem;
            p{
                margin-bottom: 2rem;
            }
        }
        
        dl{
            border-bottom: 1px solid #CCCCCC;
            display: flex;
            @include media(tablet-down){
                display: block;
            }
            dt,dd{
              padding: 2rem 1rem;
            }
            dt{
                width: 30%;
                @include media(tablet-down){
                    width: 100%;
                    padding: 2rem 1rem 0;
                }
            }
            dd{
                 width: 80%;
                @include media(tablet-down){
                    width: 100%;
                    padding: 0 1rem 2rem;
                }
            }
        }
		ul{
			margin-top: 2rem;
			li{
				margin-bottom: 1rem;
			}
		}
        &Comm{
                text-align: right;
                margin-top: 2rem;

            }
    }
    
}






/* 
=====================================
blog
-------------------------------------
*/

.p_page {
    margin: 0;
    padding-top: 10rem;
    padding-bottom: 10rem;
}
.p_page h1 {
    margin: 0 0 2em;
    padding: 0;
}
.p_page p {
    margin: 0 0 2.4em;
    padding: 0;
}
.p_page p img {
    width: 100%;
    border-radius: 1rem;
}




.blog-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-item:hover {
    opacity: 0.8;
    text-decoration: none;
}

.blog-list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.blog-item {
    display: flex;
    padding: 0rem;
    background: rgb(255, 255, 255);
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-direction: column;
    width: 31%;
}




.blog-item:hover {
    background: rgb(255, 255, 255);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-item-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	padding: 10px;
}

.blog-item-content h2 {
	color: #000;
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0 10px;
	line-height: 1.5;
}

.blog-item-content p {
    font-size: 1rem;
    color: #E8E1DC;
    margin-bottom: 1rem;
    line-height: 1.8;
}
	.blog-item-readmore {
		color: #000;
		font-size: 14px;
		font-weight: bold;
		border: 1px solid #000;
		padding: 5px 0px;
		border-radius: 17px;
		text-align: center;
	}

.blog-item-meta {
    color: #999;
    font-size: 0.9rem;
    margin-top: auto;
}

@media (max-width: 768px) {
	.blog-list {
		gap: 1rem;
	}
    .blog-item {
        flex-direction: column;
        padding: .5rem;
		width: 47%;
    }
    
    .blog-item-image {
        width: 100%;
        height: 200px;
        margin-bottom: 0;
    }
    
    .blog-item-content h3 {
        font-size: 1.3rem;
    }
}
/* 
=====================================
投稿ページ
-------------------------------------
*/


.p_blogPost{

	h2{
		color: #fff;
	}
	h3{
		color: #fff;
	}
	h4{
		color: #fff;
	}
	a{
		text-decoration: underline;
	}

}


.wp-block-embed-youtube {
    max-width: 100vw !important;
    width: 100% !important;
}
.wp-block-embed__wrapper iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16/9;
}



.p_blogPost__meta{
	color: #fff;
	font-weight: 500;
	margin-bottom: 2rem;
}
.p_blogPost__ttl{
	color: #fff;
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 2rem;
}
.p_blogPost__content{
	margin-bottom: 2rem;
}

/* 
=====================================
引用
-------------------------------------
*/
blockquote {
    position: relative;
    margin: 2em 0;
    padding: 35px 40px 30px;
    background: #f5f5f5;
    border-left: 4px solid #446689;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

blockquote p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: #888888;
    font-style: italic;
}

/* 引用符のデザイン */
blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 40px;
    color: #cccccc;
    font-family: serif;
}
