:root {
	--color_main: #5B96BD;
	--color_sub: #0A3A66;
}
* {
	font-family: noto-sans-cjk-jp, sans-serif;
}

html {
	font-size: 14px;
	background-color: #fdfdfd;
}

@media screen and (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

.din {
	font-family: din-2014, sans-serif;
}

.din-narrow {
	font-family: din-2014-narrow, sans-serif;
}

.noto {
	font-family: noto-sans-cjk-jp, sans-serif;
}


.logo_fadein {
	background: #ffffff;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 99999;
}

.logo_fadein p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 320px;
}


/* fade in */
.img-fi {
	opacity: 0;
}

.show {
	transition: all 2s;
	opacity: 1;
}

a {
	color: #333;
	text-decoration: none;
}

.cmn-title {
	text-align: center;
	font-weight: bold;
}

.sub-title {
	display: block;
	color: var(--color_main);
	font-family: din-2014, sans-serif;
}

.main-title {
	display: block;
	font-size: 2rem;
	/* under-line */
	position: relative;
	z-index: 1;
	line-height: 1;
}

/* under-line */
.main-title:after {
	content: '';
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: -0.8rem;
	transform: translateX(-50%);
	width: 0%;
	height: 2px;
	background: var(--color_main);
	transition: all 1s;
}

.main-title.isActive:after {
	width: 50px;
}

.header-logo:hover {
	opacity: 0.6;
}

.header-list {
	display: flex;
	justify-content: space-between;
	margin-top: 1.5rem;
}

/* line-animation */
.line-center {
	position: relative;
	z-index: 3;
}

.line-center:after {
	content: '';
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: -0.3rem;
	transform: translateX(-50%);
	width: 0%;
	height: 2px;
	background: var(--color_main);
	transition: all 0.5s;
}

.u-line:hover .line-center:after {
	width: 100%;
}

@media (max-width: 959px) {
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
	.header {
		display: flex;
		justify-content: space-between;
		width: 93%;
		height: 60px;
		padding: 20px 16px;
		margin: 0 auto;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 3;
	}
	.header-logo img {
		height: 2.5rem;
	}
	.hamburger-btn {
		z-index: 1;
		margin: 7px 8px 0;
	}
	.hamburger-btn span {
		display: block;
		width: 35px;
		height: 2px;
		background-color: #000;
		margin: 7px 0;
		border-radius: 10px;
		/* cross */
		transition: all 0.5s ease;
	}
	.bar1.open {
		transform: translateY(10px) rotate(45deg);
	}
	.bar2.open {
		opacity: 0;
	}
	.bar3.open {
		transform: translateY(-8px) rotate(-45deg);
	}
	.hamburger-btn:hover {
		cursor: pointer;
	}
	.hamburger-menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background-color: #fff;
		top: -2000px;
		transition: 0.5s;
		opacity: 0.85;
		z-index: -1;
	}
	.hamburger-menu a {
		display: flex;
		justify-content: space-between;
		width: 90%;
		margin: 0 auto;
	}
	.menu-chevron {
		color: #c8c8c8;
	}
	.menu-head {
		margin-top: 120px;
	}
	.menu-item {
		margin: 2.5rem 0;
	}
	.hamburger-menu a {
		font-size: 16px;
	}
	.hamburger-menu a:hover {
		cursor: pointer;
	}
	.hamburger-menu.show {
		top: 0;
		transition: 0.5s;
	}
}

@media (min-width: 960px) {
	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 80px;
		padding: 0 30px;
		background-color: #fdfdfd;
		box-shadow: 0 1px 4px rgba(0,0,0,.12);
		position: fixed;
		left: 0;
		right: 0;
		z-index: 4;
		margin: 0 auto;
	}
	.header-logo img {
		width: 200px;
	}
	.header-list {
		margin-top: 0;
		display: flex;
		justify-content: space-between;
	}
	.header-item {
		margin-left: 2.5rem;
		font-size: 1.2rem;
	}
	.sp-only {
		display: none;
	}
}

/* firstview */
.firstview {
	z-index: 1;
	position: static;
}

.firstview-message {
	width: 100%;
	position: absolute;
	font-size: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	color: #0A3A66;
	letter-spacing: 0.3rem;
	z-index: 2;
}

/* slider */
.slider img {
	height: 100vh;
	height: 100dvh; /* ios */
	width: 100%;
	object-fit: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/*矢印*/
.slick-next {
	right: 2.5%!important;
}

.slick-prev {
	left: 2.5%!important;
}

.slick-arrow {
	z-index: 2;
}

/* 矢印の変更 */
.slick-arrow::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.7;
}

.slick-next:before {
	background: url(../image/chevron-right-g.png);
	background-size: contain;
}

.slick-prev:before {
	background: url(../image/chevron-left-g.png);
	background-size: contain;
}

.slick-dots {
	bottom: initial!important;
	margin-top: -40px!important;
	z-index: 2;
}

@media (min-width: 768px) {
	.firstview-message {
		font-size: 5.5rem;
	}
}

/* about */
.about {
	max-width: 800px;
	margin: 120px auto 0;
	padding: 0 16px;
}

.about-wrapper {
	margin-top: 60px;
}

.about-image {
	text-align: center;
	position: relative;
}

#icon {
	margin: 0 auto;
	width: 200px;
	border-radius: 10%;
	box-shadow: 0px 1px 10px rgba(29, 34, 47, 0.1);
}

.about-text {
	margin-top: 40px;
}

.greeting-desc p {
	margin-bottom: 1rem;
}

.about-subtitle {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	font-family: din-2014, sans-serif;
	font-size: 2rem;
	line-height: 1;
}

.about-subtitle:before {
	content: "";
	display: block;
	width: 4px;
	height: 1.5rem;
	background-color: var(--color_main);
	margin-right: 0.5rem;
	vertical-align: bottom;
}

.about-profile {
	margin-top: 3rem;
}

@media (min-width: 768px) {
	.about-wrapper {
		display: flex;
		gap: 2.5rem;
	}
	.about-text {
		margin-top: 0px;
		margin-left: 80px;
	}

}

/* skills */
.skills {
	max-width: 900px;
	margin: 120px auto 0;
	padding: 0 16px;
}

.skill-list {
	margin-top: 60px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 40px 20px;
}

.skill-image {
	height: 180px;
	text-align: center;
}

.skill-name {
	font-family: din-2014, sans-serif;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}

.skill-desc {
	margin-top: 1rem;
}

@media (min-width: 768px) {
	.skill-item {
		width: 230px;
	}
	.skill-list {
		max-width: 500px;
		margin: 60px auto 0;
	}
}

@media (min-width: 1024px) {
	.skill-list {
		max-width: 100%;
		margin: 60px auto 0;
	}
}

/* works */
.works {
	max-width: 900px;
	margin: 120px auto 0;
}

.work-list {
	margin-top: 60px;
}

.work-item {
	margin-top: 45px;
}

/* animation */
.work-image {
	position: relative;
	transition-duration: 0.2s;
	width: 90%;
	margin: 0 auto;
}

.work-image img {
	width: 100%;
	box-shadow: 0px 1px 10px rgba(29, 34, 47, 0.1);
	border-radius: 4px;
}

.work-title {
	display: flex;
	align-items: center;
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 16px;
	line-height: 1;
}

.work-title:before {
	content: "";
	display: block;
	width: 4px;
	height: 1.75rem;
	margin-right: 0.5rem;
	background-color: var(--color_main);
}

/* animation */
.work-image:hover {
	transform: scale(1.05,1.05);
	transition-duration: 0.2s;
}

.work-text {
	margin-top: 1.3rem;
	padding: 0 16px;
}

.work-item.reverse {
	flex-direction: row-reverse;
}

.work-desc {
	margin-top: 1rem;
}

@media (min-width: 768px) {
	.work-item {
		display: flex;
		align-items: center;
		gap: 0 50px;
	}
	.work-item:nth-of-type(even) {
		flex-direction: row-reverse;
	}
	.work-image {
		width: 50%;
	}
	.work-text {
		width: 50%;
		padding: 0px;
	}
}

/* hobbies */
.hobbies {
	max-width: 900px;
	margin: 120px auto 0;
}

.hobby-list {
	margin-top: 60px;
}

.hobby-item {
	margin-top: 45px;
}

.hobby-movie {
	text-align: center;
}

.hobby-movie iframe {
	box-shadow: 0 0 10px #bebebe;
}

/* animation */
.hobby-movie:hover {
	opacity: 0.7;
}

.hobby-text {
	margin-top: 1.3rem;
	padding: 0 16px;
}

.hobby-title {
	font-size: 2rem;
	margin-bottom: 16px;
}

.hobby-desc {
	margin-top: 1rem;
}

@media (max-width: 430px) {
	.hobby-movie iframe {
		width: 90%;
	}
}

@media (min-width: 768px) {
	.hobby-item {
		display: flex;
		gap: 0 50px;
	}
	.hobby-text {
		width: 50%;
		padding: 0px;
	}
}

/* blogs */
.blogs {
	max-width: 950px;
	margin: 120px auto 0;
}

.blog-list {
	margin-top: 60px;
}

.blog-item {
	margin-top: 45px;
}

.blog-post {
	width: 300px;
	margin: 0 auto 30px;
	/* animation */
	transition-duration: 0.2s;
}

/* animation */
.blog-post:hover {
	transform: scale(1.05,1.05);
	transition-duration: 0.2s;
}

.blog-thumbnail img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 4px 4px 0 0;
	box-shadow: 0px 1px 10px rgba(29, 34, 47, 0.1);
}

.blog-title {
	padding: 10px 20px;
	background-color: #fff;
	border-radius: 0 0 4px 4px;
	box-shadow: 0px 1px 10px rgba(29, 34, 47, 0.1);
}

.title-text{
	font-size: 1.2rem;
	font-weight: bold;
}

.post-date {
	font-size: 0.8rem;
}

.post-date p {
	display: inline;
	padding-left: 5px;
}

.see-more {
	font-family: din-2014, sans-serif;
	font-size: 20px;
	text-align: center;
	margin: 30px auto 0;
}

.see-more a {
	color: #646464;
}

.see-more a:hover {
	color: var(--color_main);
}

.size {
	font-size: 0.9rem;
	padding-left: 8px;
}

@media (min-width: 960px) {
	.blog-post {
		margin: 0 15px;
	}    
	.blog-menu {
		display: flex;
		justify-content: space-between;
	}
}

/* blog-archive-page */
.lower-message {
	width: 100%;
	position: absolute;
	font-size: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 400px;
	letter-spacing: 0.3rem;
	z-index: 2;
}

.lower-firstview .yellow {
	color: var(--color_main);
	text-shadow: 0.7px 0.7px 1px #000;
}

.lower-firstview-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.blog-archive {
	width: 90%;
	margin: 120px auto;
}

.blog-archive hr {
	margin: 1rem 0 1rem;
	border: none;
	border-top: 1px solid rgba(0,0,0,0.1);
}

.archive-list {
	margin-top: 20px;
	transition-duration: 0.2s;
}

.archive-list:hover {
	transform: scale(1.05,1.05);
	transition-duration: 0.2s;
}

.list-thumbnail img {
	width: 100%;
	height: 125px;
	object-fit: cover;
}

.list-text {
	padding: 20px 0 0;
}

.list-title {
	color: #0A3A66;
	font-size: 1.4rem;
	font-weight: bold;
}

.list-date {
	font-size: 0.85rem;
	color: #646464;
}

.list-content {
	padding-top: 1rem;
}

@media (min-width: 768px) {
	.lower-message {
		font-size: 5.5rem;
		margin-top: 40px;
	}
	.blog-archive {
		max-width: 900px;
	}
	.archive-list {
		display: flex;
	}
	.list-thumbnail img {
		width: 175px;
	}    
	.list-text {
		padding: 0 20px;
	}
}

/* post-detail-page */
.post-detail {
	width: 95%;
	margin: 80px auto 20px;
	border: solid 1px #dddddd;
}

.post-detail-title {
	font-size: 1.7rem;
	padding-left: 24px;
	font-weight: bold;
	background-color: #F4F8FA;
	border-left: solid 6px var(--color_main);
}

.post-detail-title h2 {
	padding-top: 2px;
}

.post-detail-thumbnail {
	margin: 80px 0;
}

.post-detail-thumbnail img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.prev-archive {
	margin: 40px auto 120px;
	display: block;
	width: 100%;
	max-width: 200px;
	outline: none;
	border: none;
	background-color: var(--color_main);
	border-radius: 40px;
	font-size: 1rem;
	height: 40px;
	line-height: 40px;
	letter-spacing: 0.3rem;
	text-align: center;
	cursor: pointer;
}

.prev-archive a{
	color: #fff;
}

.prev-archive:hover {
	opacity: 0.8;
}

@media (max-width: 520px) {
	.post-detail-thumbnail img {
		height: 250px;
		object-fit: cover;    
	}
}

@media (max-width: 959px) {
	.post-detail {
		padding: 40px 0 60px;
	}
	.post-detail-title {
		margin-right: 15px;
		padding-left: 9px;
	}
	.post-detail-thumbnail {
		margin: 50px 15px;
	}
	.post-detail-content {
		font-size: 1.2rem;
		margin: 0 15px;
	}
}

@media (min-width: 960px) {
	.post-detail {
		width: 68%;
		margin: 120px auto 70px;
		border: none;
	}
	.post-detail-title {
		height: 45px;
	}
}

/* contact */
.contact {
	margin: 120px 0;
	text-align: center;
}

.attention {
	font-size: 12px;
}

/* contact-form */
.contact_form {
	border-collapse: collapse;
	margin: 45px auto 0;
}

.contact_form tr {
	border-top: solid 1px #dddddd;
}

.contact_form tr:last-child {
	border-bottom: solid 1px #dddddd;
}

.contact_form tr:nth-child(odd) {
	background-color: #fafbfc;
}

.contact_form th {
	position: relative;
	width: 280px;
	padding: 20px;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
}

.contact_form .must {
	color: #d70d19;
}

.contact_form td {
	padding: 14px 20px;
	box-sizing: border-box;
}

.contact_form input[type="text"],
.contact_form textarea {
	max-width: 300px;
	background: #f9f9f9;
	border: solid 1px #dddddd;
	font-size: 16px;
	padding: 12px 20px;
	transition: 0.3s ease-in-out;
	box-sizing: border-box;
	vertical-align: top;
	outline: none;
}

.contact_form input[type="text"]:focus,
.contact_form textarea:focus {
	border-color: #d70d19;
}

.contact_form input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.contact_form .checkbox_label {
	cursor: pointer;
}

.contact_form .checkbox_txt {
	vertical-align: top;
}

.contact_form label.error {
	display: block;
	margin: .3em 0 0 0;
	color: #d70d19;
}

.submit-btn {
	display: block;
	width: 100%;
	max-width: 200px;
	margin: 30px auto 0;
	padding: 0;
	outline: none;
	border: none;
	background-color: var(--color_main);
	border-radius: 40px;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 1rem;
	text-indent: 1rem;
	height: 40px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
}

.submit-btn:hover {
	opacity: 0.8;
}

/* test version */
.attention {
	margin-top: 32px;
	font-size: 12px;
	color: #d70d19;
	white-space: nowrap;
}

@media (max-width: 680px) {
	.contact_form tr,
	.contact_form td {
		display: block;
		width: 100%;
	}
	.contact_form th {
		display: block;
		width: 100%;
		padding: 20px 20px 0;
	}
}

/* contact-mail */
.contact-text {
	margin-top: 40px;
}

.contact-text input {
	font-size: 24px;
	background-color: #fdfdfd;
	border: none;
	text-align: center;
}

.contact-text button {
	height: 28px;
	padding: 4px 16px;
	margin-top: 4px;
	background-color: var(--color_main);
	border: none;
	border-radius: 40px;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.contact-text button:hover {
	cursor: pointer;
	opacity: 0.85;
}

.contact-mail {
	font-size: 2rem;
	font-weight: bold;
}

/* copy-button */
#copyMail {
	font-family: din-2014, sans-serif;
}

#copyMail:focus,button:focus {
	outline: 0; 
}

.icon-area {
	margin-top: 40px;
}

.icon-area .fa-brands {
	font-size: 2rem;
	margin: 0 1rem;
}

.icon-area .fa-brands:hover {
	opacity: 0.7;
}

/* prev-btn */
#page_top {
	position: fixed;
	z-index: 4;
	right: 2.5rem;
	bottom: 2.5rem;
	background-color: rgba(255, 255, 255, .8);
	border: 1px solid #0A3A66;
	border-radius: 50%;
	transition-duration: 0.2s;
}

#page_top a {
	position: relative;
	z-index: 4;
	display: block;
	width: 48px;
	height: 48px;
	text-decoration: none;
}

#page_top a::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	background-image: url(/wp-content/uploads/2025/07/arrow-top.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -25%);
	z-index: 4;
}

#page_top:hover {
	opacity: 0.7;
	transition-duration: 0.2s;
}

/* sidebar */
.sidebar-col {
	margin: 0 auto;
}

.sidebar {
	position: sticky;
	top: 120px;
	width: 23%;
	height: 650px;
	margin: 120px 0 0;
	border: solid 1px #ececec;
}

.sidebar-section {
	margin: 0 0 30px;
}

.sidebar-title {
	font-size: 22px;
	background-color: #F4F8FA;
	padding: 10px;
	font-weight: bold;
}

.sidebar-title h4 {
	font-weight: 400;
}

.sidebar-subtitle {
	font-size: 12px;
	color: #999;
}

.sidebar-subtitle i {
	margin-right: 2px;
}

.sidebar-post-title {
	margin: 0 16px;
	padding: 16px 0;
	border-bottom: solid 1px #ececec;
	transition-duration: 0.2s;
	font-size: 17px;
}

.post-views {
	font-size: 0.8em;
	color: #999;
}

.sidebar-post-title:hover {
	transform: scale(1.05,1.05);
	transition-duration: 0.2s;
	background-color: #efefef;
}

@media (max-width: 959px) {
	.sidebar {
		display: none;
	}
}

@media (min-width: 960px) {
	.sidebar-col {
		max-width: 1280px;
	}
	.sidebar-col {
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
	}
}

/* footer */
.footer {
	background-color: var(--color_sub);
	padding: 30px 30px 10px;
	line-height: 40px;
}

.footer-list {
	margin: 0 auto;
}

.footer-item {
	font-size: 1.2rem;
}
.footer-item a {
	color: #fff;
}
.footer-item a:hover {
	opacity: 0.5;
}

.twitter-window {
	margin-top: 20px;
}

.copyright {
	margin-top: 2rem;
	text-align: center;
	color: #fff;
	font-size: 0.75rem;
}

@media (min-width: 768px) {
	.footer-row {
		max-width: 900px;
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
	}
	.twitter-window {
		width: 60%;
		margin-top: 0;
	}
}