/* CSS Document */

@charset "UTF-8";

@import url('reset.css');
@import url('menu.css');

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;700&text=0123456789&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;700&display=swap');

@import url('https://use.fontawesome.com/releases/v6.3.0/css/all.css');
@import url('https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css');

/*----------------------------------------------------------------------
変数定義
-----------------------------------------------------------------------*/
:root {
	--primary-text-color: #352D35;
	--secondary-text-color: #5A4F59;
	--link-hover-color: #DED2CC;
	--footer-color: #262730;
}

/*----------------------------------------------------------------------
全体
-----------------------------------------------------------------------*/
body {
	background-color: #F9F8F5; /* #F5F4F1 */
	font-family: 'Maven Pro', 'Zen Kaku Gothic New', sans-serif;
}

html {
	scroll-behavior: smooth;
}

input {
	font-family: 'Zen Kaku Gothic New', sans-serif;
}

hr {
	height: 1px;
	margin: 10px 0px;
	padding: 0;
	border: 0;
	background: #bbb;
}

img {
	max-width: 100%;
}

a {
	display: inline-block;
}

a:hover img {
	filter: brightness(106%);
	opacity: 0.88;
	transition: 0.4s;
}

.bottom {
	margin-bottom: 0 !important;
}

.nowrap {
	white-space: nowrap;
	word-break: normal;
}

@media screen and (max-width: 736px) {
	._100 {
		width: 100vw;
		max-width: none;
		margin-left: -20px;
	}
}

/*----------------------------------------------------------------------
テキストカラー - 基本
-----------------------------------------------------------------------*/
main {
	color: var(--primary-text-color);
}

/*----------------------------------------------------------------------
フェードイン
-----------------------------------------------------------------------*/
.fadein {
	opacity : 0;
	transform: translateX(-28px);
	transition: 1.26s;
}

/*----------------------------------------------------------------------
リンク
-----------------------------------------------------------------------*/
a:link, a:visited {
	color: var(--primary-text-color);
}

#main-top a:hover, main a:hover {
	color: var(--link-hover-color);
}

a.external-link {
	margin-right: 0.5em;
}
a.external-link::after {
	display: inline-block;
	content: "\f35d";
	margin-left: 2px;
	font-family: "Line Awesome Free";
	font-size: 1.25em;
	font-weight: 900;
	color: var(--primary-text-color);
	text-decoration: none;
	vertical-align: -2px;
}

/*----------------------------------------------------------------------
リンクボタン
-----------------------------------------------------------------------*/
a.more {
	display: block;
	width: 396px;
	max-width: 80%;
	margin: 0 auto;
	padding: 1rem 2rem;
	background-color: #FFF;
	border: 2px solid #DDD7D7;
	border-radius: 2px;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
}
a.more:visited {
	color: var(--primary-text-color);
}
a.more:hover {
	background-color: #4C5C84;
	color: #FFF;
	transition: 0.05s;
}

a.more span {
	display: inline-block;
	position: relative;
	padding-bottom: 0.125rem;
}
a.more span::after {
	position: absolute;
	top: 50%;
	left: -1.66em;
	content: "\f35a";
	font-family: "Font Awesome 5 Free";
	font-size: 1.125em;
	font-weight: 900;
	color: var(--secondary-text-color);
	transform: translateY(-50%);
}
a.more:hover span::after {
	color: #FFF;
}

@media screen and (max-width: 1000px) {
	a.more span::after {
		left: -1.5em;
	
	}
}

@media screen and (max-width: 736px) {
	a.more span::after {
		left: -1.2em;
	
	}
}

/*----------------------------------------------------------------------
見出し
-----------------------------------------------------------------------*/
h1 {
	font-size: 36px;
	color: var(--secondary-text-color);
}

@media screen and (max-width: 736px) {
	h1 {
		font-size: 30px;
	}
}

main > article > h2 {
	margin-bottom: 0.75em;
	font-size: 30px;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: var(--secondary-text-color);
}
main > article > h2.brown {
	position: relative;
	padding-top: 20px;
	color: #C36766;
}
main > article > h2.brown::before {
	position: absolute;
	top: 4px;
	content: "";
	width: 50px;
	height: 6px;
	background-color: #231815;
}

main:not(.works) h1::before, main:not(.index) h2::before {
	content: attr(data-subtitle);
	display: block;
	font-size: 0.625em;
}

main > article h3 {
	margin: 1.75em 0em 0.125em;
	font-size: 22px;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

@media screen and (min-width: 1200px) {
	main > article h3 {
		margin: 1.75em 1.25em 0.125em;
	}
}

@media screen and (max-width: 736px) {
	main > article > h2 {
		font-size: 22px;
	}

	main > article > h3 {
		font-size: 18px;
	}
}

/*----------------------------------------------------------------------
リスト
-----------------------------------------------------------------------*/
ul.disc, ul.square, ol.number {
	margin-bottom: 1em;
	padding: 0px 5px;
	letter-spacing: 0.02em;
	line-height: 1.8em;
}

ul.disc li, ul.square li {
	margin-left: 0.75em;
	text-indent: -1.05em;
}

ul.disc li::before, ul.square li::before {
	color: #8C7B7F;
	vertical-align: 1px;
}

ul.disc li::before {
	content: "\025cf";
	margin-right: 0.25em;
	font-size: 0.6875em;
}
ul.square li::before {
	content: "\025a0";
	margin-right: 0.25em;
	font-size: 0.75em;
}

ol.number li {
	list-style-position: inside;
}

.white-bg, ul.gray-bg {
	display: inline-block;
	padding: 13px 23px !important;
}
.white-bg {
	background-color: #FFF;
}
ul.gray-bg {
	background-color: #EAECF5;
}

@media screen and (min-width: 1200px) {
	ul.gray-bg {
		margin-left: calc((1100px - 100%) / -1 + 20px);
	}
}

/*----------------------------------------------------------------------
強調・装飾
-----------------------------------------------------------------------*/
main article mark {
	background: linear-gradient(transparent 70%, #FCD788 70%);
	font-weight: 500;
}

main article h2 > mark, main article h3 > mark {
	font-weight: 700;
}

.gray {
	color: #AAA4A4;
}

/*----------------------------------------------------------------------
main-top
-----------------------------------------------------------------------*/
#main-top {
	display: flex;
	position: relative;
	height: 600px;
}

#main-top > picture {
	width: 100%;
	height: 100%;
}

#main-top img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 736px) {
	#main-top {
		height: 60vh;
	}
}

#main-top.events2 {
	height: 360px;
}
@media screen and (max-width: 736px) {
	#main-top.events2 {
		height: 48vh;
	}
}

/*----------------------------------------------------------------------
カテゴリー表記
-----------------------------------------------------------------------*/
#main-top::after {
	position: absolute;
	bottom: 13%;
	right: 5%;
	font-weight: 700;
	font-size: 28px;
	letter-spacing: 0.04em;
	text-align: right;
	color: #FFF;
	white-space: pre;
}
#main-top.black::after {
	color: var(--secondary-text-color);
}

#main-top.events::after {
	content: "_ 見学会・イベント最新情報";
}
#main-top.works::after {
	content: "_ CODA DESIGNの建築事例";
}
#main-top.modelhouse::after {
	content: "_ HEAT20 G3グレード\Aモデルハウス";
	left: 5%;
	right: auto;
}
#main-top.design_01::after {
	content: "_ CODA DESIGNの家づくり";
}
#main-top.design_02::after {
	content: "_ 建築家とつくる高性能デザイン住宅";
}
#main-top.design_03::after {
	content: "_ CODA DESIGNの\A住宅性能と品質";
}
#main-top.design_04::after {
	content: "_ CODA DESIGNの\A住まいづくりとアフターサポート";
}
#main-top.reform::after {
	content: "_ CODA DESIGNの\A断熱リフォーム・リノベーション";
}
#main-top.about::after {
	content: "_ CODA DESIGN\A会社概要";
}
#main-top.about_03::after {
	content: "_ CODA DESIGN\A代表メッセージ";
}
#main-top.about_04::after {
	content: "_ CODA DESIGNの\Aスタッフ";
}
#main-top.about_02::after {
	content: "_ 資料請求・お問い合わせ";
}
#main-top.phil::after {
	content: "_ CODA DESIGNの家づくり";
}
#main-top.staffblog::after {
	content: "_ CODA DESIGN\A住まいのこと スタッフのこと";
}
#main-top.gallery::after {
	content: "_ CODA DESIGN\Aイメージギャラリー";
}

@media screen and (max-width: 736px) {
	#main-top::after {
		font-size: 20px;
	}
}

/*----------------------------------------------------------------------
ヘッダー
-----------------------------------------------------------------------*/
header {
	position: sticky;
	top: 0;
	width: 100%;
	height: 96px;
	background: rgba(255, 255, 255, 0.96);
	z-index: 100;
}

header > div {
	display: flex;
	justify-content: flex-end;
	position: relative;
	height: 100%;
}

header > div > a.logo {
	position: absolute;
	top: 25px;
	width: 400px;
	left: 50px;
}

header > div > a.logo img {
	width: 100%;
}

.scroll-pup {
	z-index: 100;
}

@media screen and (max-width: 680px) {
	header {
		height: 66px;
	}

	header > div > a.logo {
		width: 60%;
		max-width: 290px;
		top: auto;
		bottom: calc(50% - 4px); /*スクロールバーの半分上げる*/
		right: auto;
		left: calc(3.3% + 6px);
		transform: translateY(50%);
	}
}

/*----------------------------------------------------------------------
アンカーリンク調整
-----------------------------------------------------------------------*/
html, body {
	scroll-padding-top: 96px;
}

@media screen and (max-width: 736px) {
	html, body {
		scroll-padding-top: 66px;
	}
}

/*----------------------------------------------------------------------
メイン
-----------------------------------------------------------------------*/
main {
	width: 1160px;
	margin: 0 auto;
	padding-top: 120px;
}

main article+article {
	margin-top: 120px;
}

main p {
	letter-spacing: 0.02em;
	line-height: 1.8;
}
main:not(.index) p {
	text-align: justify;
}
main:not(.works) p.tagline {
	margin-top: 30px;
	font-weight: 500;
}

main p+p, main p+img, main p+picture, main ul+picture {
	margin-top: 1.375rem;
}

main img+p, main picture+p {
	margin-top: 2rem;
}

main p+ul {
	margin-top: 1rem;
}

main h3+ul, main h3+ol, main h3+p {
	margin-top: 0.5rem;
}

main h3+h4 {
	margin-top: 0.625rem;
}

main:not(.brand) > article > picture+h1 {
	margin-top: 20px;
}

main:not(.brand) > article picture {
	display: block;
}

main p b {
	font-weight: 500;
}

main address {
	margin-bottom: 1.5em;
}

main address > p > b {
	font-size: 1.125em;
}

@media screen and (max-width: 1220px) {
	main:not(.index):not(.brand) {
		width: 100%;
		padding: 120px 20px 0px;
	}
}

@media screen and (max-width: 1000px) {
	main:not(.index):not(.brand) {
		width: 100%;
		padding: 80px 20px 0px;
	}
}

@media screen and (max-width: 736px) {
	main:not(.index):not(.brand) {
		width: 100%;
		padding: 50px 20px 0px;
	}

	main article+article {
		margin-top: 100px;
	}
}

/*----------------------------------------------------------------------
左右レイアウト
-----------------------------------------------------------------------*/
div.left img, div.left > a, div.left-short img, div.left-short > a {
	order: -1;
}

div.left, div.right, div.left-short, div.right-short {
	display: grid;
	align-items: flex-start;
	gap: 100px 100px;
	margin-left: calc(((99.4vw - 100%) / 2) * -1);
	margin-right: calc(((99.4vw - 100%) / 2) * -1);
}

div.left {
	grid-template-columns: 3fr 2fr;
	padding-right: calc((100vw - 100%) / 2 + 40px);
}
div.right {
	grid-template-columns: 2fr 3fr;
	padding-left: calc((100vw - 100%) / 2 + 40px);
}

div.left-short {
	gap: 80px;
	grid-template-columns: 11fr 16fr;
	padding-right: calc((100vw - 100%) / 2);
}
div.right-short {
	gap: 80px;
	grid-template-columns: 16fr 11fr;
	padding-left: calc((100vw - 100%) / 2);
}

@media screen and (max-width: 1200px) {
	div.left, div.right, div.left-short, div.right-short {
		column-gap: 60px;
	}
}

@media screen and (max-width: 960px) {
	div.left, div.right, div.left-short, div.right-short {
		grid-template-columns: 1fr;
		gap: 1em 0em;
		margin: 0;
		padding: 0;
	}
}

/*----------------------------------------------------------------------
ページネーション
-----------------------------------------------------------------------*/
#pagination {
	margin-top: 150px;
}

#pagination > ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px 30px;
}

#pagination > p > b {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	line-height: 1.5;
}
#pagination > p > b:before, b:after {
	content: "";
	width: 20px;
	height: 2px;
	flex-grow: 1;
	background: var(--primary-text-color);
}
#pagination > p > b:after {
	margin-left: 0.875rem;
}

#pagination > p > b:before {
	margin-right: 0.875rem;
}

#pagination ul > li {
	border: 1px solid #CECECE;
}

#pagination ul > li > a {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0.875rem 1rem;
	font-weight: 500;
	text-decoration: none;
}

#pagination ul > li span {
	float: left;
	display: inline-block;
	margin-right: 0.875rem;
	padding: 0.25rem 0.625rem 0.375rem;
	background: var(--footer-color);
	color: #FFF;
	white-space: nowrap;
}

#pagination ul > li > a:hover > span {
	background: #4C5C84;
}

#pagination ul > li.on > a > span {
	background: #CFD2D9;
}

#pagination ul > li > a p {
	line-height: 1.5;
	text-decoration: underline;
}

@media screen and (max-width: 1160px) {
	#pagination > ul {
		gap: 15px 20px;
	}
}

@media screen and (max-width: 500px) {
	#pagination > p > b {
		width: 100%;
		padding: 0 10px;
		font-size: 1.25rem;
	}
}

/*----------------------------------------------------------------------
カル－セルリンク
-----------------------------------------------------------------------*/
.carousell a {
	padding-bottom: 50px;
	text-align: right;
}

.carousell a > span {
	margin: 6px 50px 0px 0px;
}

.carousell a > span > small {
	display: block;
	text-align: left;
}

@media screen and (max-width: 736px) {
	.carousell {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		margin-top: 80px;
	}
}

.carousell a > span {
	display: inline-block;
	position: relative;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-align: right;
	z-index: 2;
}

.carousell a > span::before {
	content: "";
	position: absolute;
	top: -25px;
	right: -20px;
	width: 100px;
	height: 100px;
	background: rgba(183, 190, 191, 0.2);
	border-radius: 50%;
	z-index: -1;
}
.carousell a > span::after {
	display: block;
	content: "\f101";
	position: absolute;
	top: 25px;
	right: 23px;
	font-family: "Line Awesome Free","Line Awesome Brands";
	font-size: 18px;
	font-weight: 700;
}

.carousell a:hover {
	color: #8C7B7F;
}

.carousell a:hover > span::before {
	background: rgba(242, 242, 242, 0.4);
	transition: cubic-bezier(.18, .89, .32, 1.28) 0.8s;
}

/*----------------------------------------------------------------------
フッター
-----------------------------------------------------------------------*/
footer {
	width: 100%;
	margin-top: 100px;
	padding: 30px 0px;
	background: #262730;
	color: #FFF;
}

footer > div.inner {
	display: flow-root;
	width: 1160px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0px 20px;
}

footer div.flex {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 0px;
}

.footer-logo {
	width: 430px;
	margin-bottom: 26px;
	max-width: 80%;
}

footer div.flex p > b {
	font-size: 1.3125rem;
}

.freedial {
	width: 400px;
	max-width: 80%;
	margin-bottom: 12px;
	filter: brightness(0) invert(1);
}

ul#footer-links {
	display: flex;
	justify-content: center;
	gap: 0px 60px;
}

ul#footer-links a {
	font-size: 2rem;
	color: #FFF !important;
}

footer div.flex:nth-of-type(2) {
	margin: 16px 0px 28px;
}

footer div.flex:nth-of-type(2) > div {
	font-size: 0.9375rem;
}

p.copyright {
	float: right;
	font-size: 0.9375rem;
}

@media screen and (max-width: 1000px) {
	footer div.flex {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

@media screen and (max-width: 736px) {
	footer {
		margin-top: 80px;
	}

	footer div.flex:nth-of-type(2) {
		margin-top: 20px;
	}

	footer div.flex:nth-of-type(2) > div {
		text-align: left;
	}
}

@media screen and (max-width: 680px) {
	footer div.flex address {
		margin-top: 0.5rem;
	}

	p.copyright {
		float: none;
		font-size: 0.8125rem;
		text-align: center;
	}
}

/*----------------------------------------------------------------------
会社概要
-----------------------------------------------------------------------*/
main.aboutus article h3 {
	text-indent: -0.5em;
}

main.aboutus article h3::before {
	content: "\FF3B";
	margin-right: 0.125em;
}
main.aboutus h3::after {
	content: "\FF3D";
	margin-left: 0.125em;
}

/*----------------------------------------------------------------------
サンクスページ
-----------------------------------------------------------------------*/
main.thanks p.tagline {
	margin-bottom: 3em;
}

/*----------------------------------------------------------------------
レスポンシブ
-----------------------------------------------------------------------*/
@media screen and (max-width: 960px) {
	main > article p br:not(.all) {
		display: none;
	}
}

@media screen and (min-width: 736px) {
	.sp {
		display: none;
	}
}

@media screen and (max-width: 736px) {
	.pc {
		display: none;
	}

	br.sp {
		display: block !important;
	}
}

/*----------------------------------------------------------------------
2023_0715追加
-----------------------------------------------------------------------*/
main:not(.index):not(.event-index) > article > p,
main:not(.index) > article > img, main:not(.index) > article > picture,
main:not(.event-index) > article > ul:not(.flow):not(.gray-bg),
main > article > ol.number,
main > article > address,
main > article > form,
main > article > iframe,
main > article > table,
main > article > div.profile {
	padding-left: calc((1100px - 100%) / -1) !important;
	padding-right: calc((1100px - 100%) / -1) !important;
}

main > article > h4 {
	padding-left: calc((1120px - 100%) / -1) !important;
	padding-right: calc((1120px - 100%) / -1) !important;
}

@media screen and (min-width: 1200px) {
	main > article > h3.button {
		margin-left: calc((1100px - 100%) / -1) !important;
		margin-right: calc((1100px - 100%) / -1) !important;
	}
}

table.GlobalSign {
	display: block;
}

/*----------------------------------------------------------------------
pagetop
-----------------------------------------------------------------------*/
#page-top {
	z-index: 200;
	position: fixed;
	right: 50px;
}

#page-top a {
	display: block;
	padding: 0px 12px;
	background-color: rgba(206,112,83,0.8);
	border: 0 !important;
	font-size: 2.4em;
	color: #FFF !important;
	text-decoration: none;
}

@media screen and (max-width: 1100px) {
	#page-top {
		right: 3vw;
	}
}

/*----------------------------------------------------------------------
2024_0421追加
-----------------------------------------------------------------------*/
.serif {
	font-family: 'Spectral', serif;
	font-size: 1.125em;
	line-height: 0.5;
}

#footer-banner2 {
	position: fixed;
	bottom: 8%;
	right: 0;
	font-weight: 700;
	z-index: 900;
	display: none;
}

#footer-banner2 ul {
	display: flex;
	flex-direction: column;
	gap: 8px 0px;
}

#footer-banner2 ul li {
	writing-mode: vertical-rl;
	transition: 0.05s;
}

#footer-banner2 ul li a {
	display: block;
	padding: 0.875rem;
	background-color: rgba(226, 210, 210, 0.68);
	border: 3px solid #FFF;
	border-right: none;
	font-size: 0.875rem;
	color: #8C4344;
	text-decoration: none;
}

#footer-banner2 ul li a i {
	margin-bottom: 6px;
	color: #8C4344;
}
#footer-banner2 ul li:hover a i {
	color: #FFF;
	transition: 0.5s;
}

#footer-banner2 ul li:hover a {
	background-color: #8C4344;
	color: #FFF;
	transition: 0.5s;
}

@media screen and (max-width: 760px) {
	footer {
		margin-bottom: 60px;
	}

	#footer-banner2 {
		top: auto;
		bottom: 0;
		width: 100%;
		transform: translateY(0);
	}

	#footer-banner2 ul {
		flex-direction: row;
		gap: 0;
		width: 100%;
	}

	#footer-banner2 ul li {
		flex: 1;
		writing-mode: horizontal-tb;
	}

	#footer-banner2 ul li a {
		display: grid;
		place-items: center;
		height: 100%;
		padding: 0.625rem 0.25rem;
		background-color: rgba(226, 210, 210, 0.91);
		font-size: 0.75rem;
		text-align: center;
	}
	#footer-banner2 ul li a i {
		display: none;
	}
}

/*----------------------------------------------------------------------
2025_0315追加
-----------------------------------------------------------------------*/
ul#footer-links li:last-of-type, ul#footer-links li:last-of-type a {
	display: flex;
}

ul#footer-links a > img {
	align-self: center;
	padding-top: 1px;
}

/*----------------------------------------------------------------------
2026_0116追加
-----------------------------------------------------------------------*/
@media screen and (min-width: 1210px) {
	#footer-banner2 {
		display: flex !important;
		opacity: 1 !important;
		top: 26px;
		bottom: auto;
		right: 130px;
	}

	#footer-banner2 ul {
		flex-direction: initial;
	}

	#footer-banner2 ul li {
		writing-mode: initial;
	}

	#footer-banner2 ul li a {
		padding: 8px 12px;
	}

	#footer-banner2 ul li a i {
	  margin: 0 6px 0 0;
	}
}

@media only screen and (max-width: 1210px) and (min-width: 760px) {
	#footer-banner2 {
		display: flex !important;
		opacity: 1 !important;
	}
}