@charset "utf-8";

/*==============================================

	Modify Base for SP
	LastUpdate 2014/10/04

==============================================*/

body {
	min-width: 0;
}

#wrapper {
	width: auto;
	padding: 80px 20px 20px;
	overflow: hidden;
}

#wrapper>.language-nav {
	display: none;
}

#wrapper>header {
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 59px;
	font-size: 12px;
	border-bottom: 1px solid #e6e6e6;
	overflow: hidden;
	background: #fff;
	z-index: 10;
}

#wrapper>header>* {
	position: relative;
	display: block;
	width: auto;
	border: none;
	text-align: center;
}

#wrapper>header>.id {
	position: relative;
	padding-top: 11px;
	width: auto;
	height: 60px;
	margin: 0;
	line-height: 60px;
	border-bottom: 1px solid #e6e6e6;
	box-sizing: border-box;
}

#wrapper>header>.id>.logo {
	width: 40px;
	height: 38px;
}

#wrapper>header>.menu {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	padding: 0;
}

#wrapper>header>.menu>a {
	display: block;
	width: 60px;
	height: 60px;
	padding: 0;
	background: url(../images/sp/header_menu.png) no-repeat 0 0/60px 120px;
	text-indent: -9999px;
	overflow: hidden;
}

#wrapper>header>.menu>a.close {
	background-position: 0 -60px;
}

#wrapper>header>#mainNav {
	width: auto;
	padding: 20px 20px 0;
}

#wrapper>header>#mainNav ul {
	display: flex;
	justify-content: space-between;
}

#wrapper>header>#mainNav li:last-child {
	display: block;
}

#wrapper>header>.tags {
	padding: 20px;
	text-align: left;
}

#wrapper>header>.tagsContent {
	padding: 20px;
}

#wrapper>footer {
	margin-top: 40px;
}

#wrapper>footer>.copyright {
	margin-top: 20px;
}

#wrapper>footer>.nav {
	letter-spacing: -0.4em;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#wrapper>footer>.nav>* {
	margin: 0;
	letter-spacing: normal;
}

#contents {
	margin-top: 0;
}

#contents>.responsive-img>img {
	width: 100%;
}

.itemList>.inner {
	margin: 0 -5px;
}

.itemList .item {
	margin: 10px 0 0;
}

.itemList .secTitle+.inner {
	margin-top: 10px;
}

br.pc {
	display: none;
}

br.sp {
	display: block;
}

.item.l {
	width: 100%;
	height: auto;
	/*padding-bottom: 100%;*/
}

.item.m {
	width: 100%;
	padding: 0 5px;
	box-sizing: border-box;
	/*width: calc(50% - 10px);
	height: 0;
	padding-bottom: calc(50% - 10px);*/
}

.item.s {
	width: 50%;
	padding: 0 5px;
	box-sizing: border-box;
	/*width: calc(25% - 10px);
	height: 0;
	padding-bottom: calc(25% - 10px);*/
}

.item.thumb {
	width: 20%;
	height: auto;
	padding: 0 5px;
	box-sizing: border-box;
	/*width: calc(20% - 10px);
	height: 0;
	padding-bottom: calc(20% - 10px);*/
}

/*
.item.l img.landscape,
.item.l img.square {
	max-width: 280px;
	max-height: 280px;
	width: auto;
	height: auto;
}

.item.l img.portrait {
	max-width: auto;
	height: 280px;
}

.item.m img.landscape,
.item.m img.square {
	max-width: 140px;
	height: auto;
}

.item.m img.portrait {
	max-width: auto;
	height: 140px;
}

.item.s img.landscape,
.item.s img.square {
	max-width: 70px;
	height: auto;
}

.item.s img.portrait {
	max-width: auto;
	height: 70px;
}
*/

.item .link {
	margin-top: 10px;
	line-height: 24px;
	font-size: 14px;
}

#itemSwipe.indexSwipe .item.l {
	overflow: visible;
}

.summary,
.summary>* {
	display: block;
}

.summary>.date,
.summary>.category,
.summary>.txt,
.summary>.tags {
	width: auto;
	padding: 0;
}

.summary>.date,
.summary>.category {
	display: inline-block;
	margin-right: 10px;
}

.summary>*+* {
	margin-top: 25px;
}

.summary>*+.category {
	margin-top: 0!important;
}

.summary>.txt>*+* {
	margin-top: 10px;
}

.dateList .summary {
	padding: 10px 0;
}

.dateList .summary>* {
	padding: 0;
}

.dateList .summary>*+* {
	margin-top: 5px;
}

#mailMag>form>.secTitle.generalHidden {
	font-size: 13px;
	line-height: 18px;
	width: 40px;
	display: table-cell;
}
#mailMag>form>.secTitle.spHidden {
	display: none;
}
#mailMag>form>.input {
	width: auto;
}
#mailMag>form>.input>input {
	padding: 0 5px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}
#mailMag>form>.input>input.name {
	width: 35%;
}
#mailMag>form>.input>input.email {
	width: 60%;
}
#mailMag>form>.input>input.name,
#mailMag>form>.input>input.email {
	margin: 0;
	box-sizing: border-box;
}

#mailMag>form>.btn {
	margin-top: 10px;
	width: 60px;
}

#mailMag>form>.btn>input {
	width: 100%;
	font-size: 12px;
	font-family: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	padding: 0;
}

#itemSwipeNav>ul>li {
	margin: 10px 0 0;
}

.item .body>* {
	position: relative;
	padding: 20px;
}

.item.s .body>* {
	padding: 10px;
	max-height: 100%;
	box-sizing: border-box;
}

.item.s .body>*:before {
	content: '';
	display: block;
	width: 100%;
	padding-top: 100%;
}

.item img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

.item img.landscape,
.item img.square {
	width: 90%;
	height: auto;
}

.item img.portrait {
	width: auto;
	height: 90%;
}

.item.l img {
	max-width: 90%;
	max-height: 90%;
}

/*------------------------------------------------
	service page
------------------------------------------------*/

.service-body {
	flex-direction: column;
	gap: 30px;
}
.service-body>.column {
	flex: 1;
	text-align: justify;
}
.service-body>.column:first-child {
	padding-bottom: 20px;
	border-bottom: 1px #e6e6e6 solid;
}

/*------------------------------------------------
	project page
------------------------------------------------*/

.work-body>ul {
	grid: auto-flow / 1fr;
}
.work-body>ul>li {
	width: 100%;
}
.work-body>ul>li>a.work-container {
	width: calc(100vw - 40px);
	height: calc(100vw - 40px);
}
.work-body>ul>li>a.work-container img {
	max-width: 100%;
	max-height: 100%;
}

/*------------------------------------------------
	project detail
------------------------------------------------*/
.article-body>.post-title {
	font-size: 24px;
	line-height: 1.2em;
}
.article-body>.post-summary {
	background-color: #F5F5F5;
	margin-top: 20px;
	padding: 20px;
	font-size: 14px;
}
.article-body>.post-content {
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.5em;
}
.article-body>.post-content p {
	margin: 15px 0;
}
.article-body>.post-content img {
	max-width: 100%;
}
.article-body>.post-content em {
	font-style: italic;
}
.article-body>.post-content ul {
	padding-left: 20px;
	list-style-type: disc;
}
.article-body>.post-content ol {
	padding-left: 20px;
	list-style-type: decimal;
}
.article-body>.post-content>h1 {
	margin: 20px auto;
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1.2em;
}
.article-body>.post-content>h2 {
	margin: 20px auto;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2em;
}
.article-body>.post-content>h3 {
	margin: 20px auto;
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.2em;
}
.article-body>.post-content table th,
.article-body>.post-content table td {
	border: 1px solid #CCC;
    line-height: 1.5;
    min-width: 30px;
    padding: 3px 5px;
    text-align: left;
}
.article-body>.post-content table th {
	background-color: #F5F2F0;
    font-weight: 700;
    text-align: center;
}