@charset "utf-8";

/* =============================================
  建築資料研究社のページよりコピー
============================================= */

/* -------------
建築資料研究社cmnなど調整
-------------- */
.content {
  font-size: 1.6em; /* 基本のフォントサイズ1.6em（16px） */
  line-height: 1.8;
  color: #111;
  border: none;
}
.content p,
.content ul,
.content ol,
.content dl,
.content table,
.content blockquote,
.content address,
.content pre,
.content iframe,
.content form,
.content figure {
  font-size: 16px;
}
h1,h2,h3,h4,h5,h6,th{
  color: #111;
}
.sp_only {
  display: none;
}
.tablet_only {
  display: none;
}
.lead-box {
  padding: 0 2.4rem;
}
.lead-box__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nowrap,
.nowrap_pc,
.nowrap_pc_tablet {
  white-space: nowrap;
}
.content-second-txt {
	margin-top: 1rem;
	text-align: center;
}


/* ============

campaign.css

============= */
.content-second-title {
	position: relative;
	padding-top: 4rem;
  font-size: clamp(2.2rem, calc(2.018rem + 0.78vw), 2.6rem);
	font-weight: bold;
	text-align: center;
}
.content-second-title::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	display: block;
	width: 5.6rem;
	height: 0.8rem;
	margin: auto;
	content: "";
	background-color: #e60012;
}
.content-fourth-title {
	position: relative;
	padding-left: 2rem;
	font-size: max(2.0rem, 20px);
	font-weight: bold;
}
.content-fourth-title::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1.2rem;
	height: 1.2rem;
	margin: auto;
	content: "";
	background-color: #e60012;
	border-radius: 50%;
}
.section {
	padding: 0 15px;

	/* margin-top: 9rem; */
}
.section__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.content-main-img{
  margin: 30px 0;
}
.content-main-img img{
  margin: 0;
}


/* ============

Nav

============= */

/* -------------

bottom-nav-list

-------------- */
.bottom-nav-list > li:not(.bottom-nav-list__service),
.bottom-nav-list__service > ul > li:not(.bottom-nav-list__student),
.bottom-nav-list__service .bottom-nav-list__first-title,
.bottom-nav-list__student .bottom-nav-list__second-title,
.bottom-nav-list__student .bottom-nav-list__second-level > li:not(.bottom-nav-list__student__event),
.bottom-nav-list__student .bottom-nav-list__fourth-level {
	display: none;
}
.bottom-nav-list__first-level,
.bottom-nav-list__second-level {
	padding-left: 0;
}

/* title */
.bottom-nav-list__third-title {
	font-size: max(2.0rem, 18px);
}
.bottom-nav-list .bottom-nav-list__third-title a {
	padding: 1.6rem 1.6rem 1.6rem 3.2rem;
}
.bottom-nav-list .bottom-nav-list__third-title a::before {
	top: 2.9rem;
	width: 2.4rem;
	height: 0.6rem;
}

/* ============

Layout

============= */

/* -------------

special-box

-------------- */
.special-box-list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: left;
}
.special-box-list__item {
	width: calc(100%/3 - 1.6rem);
	padding: 2rem 2rem 3rem;
	margin-top: 6.4rem;
	border: solid 0.6rem #efefef;
	border-radius: 2rem;
}
.special-box-list__item:not(:nth-of-type(3n+1)) {
	margin-left: 2.4rem;
}
.special-box-list__number {
	position: relative;
	margin-top: -5.6rem;
	font-size: 3.6rem;
	font-weight: bold;
	color: #666;
	text-align: center;
	background: linear-gradient(transparent 10%, #fff 0%) center center;
	background-repeat: no-repeat;
	background-size: 5rem 3rem;
}
.special-box-list__number__circle {
	display: inline-block;
	width: 4.6rem;
	height: 4.6rem;
	font-size: max(3.2rem, 24px);
	font-weight: bold;
	line-height: 4.4rem;
	border: solid 2px #666;
	border-radius: 50%;
}
.special-box-list__number__circle.is-present-b {
  color: #fff;
  background-color: #009e08;
  border-color: #009e08;
}
.special-box-list__number small {
	position: absolute;
	top: -2rem;
	right: 0;
	left: 0;
	font-size: max(1.8rem, 16px);
	font-weight: normal;
	letter-spacing: 0.2rem;
}
.special-box-list__title {
	margin-top: 1rem;
	font-size: max(2.2rem, 20px);
	font-weight: bold;
	text-align: center;
}
.special-box-list__title span {
	background: linear-gradient(transparent 70%, #fcc 0%);
}
.special-box-list__txt {
  margin: 2rem 0 0.5em;
}
.special-box-list.is-present-a .special-box-list__txt {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: solid 0.1rem #ccc;
}
.special-box-list__note {
	padding-top: 2rem;
	margin-top: 2rem;
	font-size: 14px;
	border-top: solid 0.1rem #ccc;
}
.special-box__txt {
	padding-left: 2rem;
	margin-top: 2rem;
	font-size: 14px;
	text-indent: -2rem;
}
.special-box-list__note__page-link {
	display: block;
	margin-top: 1rem;
}
.special-box-list__img {
	margin-top: 3rem;
	text-align: center;
}
.special-box-list__img img {
	width: 100%;
	max-width: 18rem;
	border: solid 0.1rem #ccc;
}
.special-box__note,
p.special-box__note{
	padding-left: 1.4rem;
	margin-top: 2rem;
	font-size: 14px;
	text-indent: -1.4rem;
}
p.special-box__note{
  margin: 0;
	font-size: 1.4rem;
}
.special-box-list__txt + .disc-list {
	margin-top: 0.8rem;
}
.present-tagline{
  display: block;
  margin: 10px 0 -5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  color: #008006;
  text-align: center;
}

/* -------------

募集期間中 / プレゼントA・プレゼントB / 2023.06.20

-------------- */
.special-box__third-title {
	position: relative;
	margin-top: 8rem;
	font-weight: bold;
	text-align: center;
	text-shadow: 0.4rem 0.2rem 0 #fff;
}
.special-box__third-title small {
	position: relative;
	z-index: 1;
	font-size: max(2.8rem, 24px);
}
.special-box__third-title b {
	position: relative;
	z-index: 1;
	font-size: max(4.8rem, 40px);
	font-weight: bold;
}
.special-box__third-title::after {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 3.2rem;
  content: "";
  background-image: repeating-linear-gradient(45deg, #ffe5e5, #ffe5e5 6px, transparent 6px, transparent 9px);
}
.special-box__a-plus-b-img {
	max-width: 64rem;
	margin: 0 auto;
	margin-top: 2.4rem;
}
.special-box__a-plus-b-img img {
	width: 100%;
	height: auto;
}
.special-box__a-plus-b-txt {
	display: table;
	padding-left: 2.4rem;
	margin: 0 auto;
	margin-top: 2.4rem;
}
.special-box__a-plus-b-txt__red-txt {
	position: relative;
	color: #e60012;
}
.special-box__a-plus-b-txt__red-txt::before {
	position: absolute;
	left: -16px;
	content: "※";
}
.special-box__a-plus-b-txt__red-txt--yellow-line {
	position: relative;
	display: inline;
	color: #e60012;
	background: linear-gradient(transparent 56%, #fff01f 0%);
}
.special-box__a-plus-b-txt__red-txt--yellow-line::before {
	position: absolute;
	left: -16px;
	content: "※";
}
.special-box__red-txt {
	position: relative;

/* 	color: #e60012; */
	text-align: center;
}
.special-box__third-title + .special-box__red-txt {
    margin-top: 4rem;
}
.special-box__red-txt__yellow-line {
    background: linear-gradient(transparent 72%, #fee550 0%);
}

/* is-present-a */
.special-box__third-title.is-present-a {
	color: #e03636;
}
.special-box-list__number__circle.is-present-a {
    color: #fff;
    background-color: #e03636;
    border-color: #e03636;
}

/* is-present-b */
.special-box__third-title.is-present-b {
	color: #008006;
}
.special-box__third-title.is-present-b::after {
 background-image: repeating-linear-gradient(45deg, #e7f5cc, #e7f5cc 6px, transparent 6px, transparent 9px);
}
.special-box-list__title.is-present-b span {
	background: linear-gradient(transparent 70%, #e0fae8 0%);
}

/* is-b-finish */
.special-box-list.is-b-finish {
	position: relative;
	justify-content: center;
}
.special-box-list.is-b-finish::before {
	position: absolute;
	inset: 0;
	z-index: 10;
	width: 100%;
	max-width: calc(100% - 8px);
	height: auto;
	margin: auto;
	content: "";
	background: url(../img/campaign_special-box-list_b-finish_im01.png) no-repeat center center;
	background-size: 100% auto;
}
.special-box-list__item.is-b-finish {
  position: relative;
  justify-content: center;
}
.special-box-list__item.is-b-finish::before {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  max-width: calc(100% - 8px);
  height: auto;
  margin: auto;
  content: "";
  background: url(../img/campaign_special-box-list_b-finish_im02.png) no-repeat center 42%;
  background-size: 100% auto;
}
.note-list--yellow-line {
	margin-top: 2.4rem;
}
.note-list--yellow-line li {
	display: inline;
	background: linear-gradient(transparent 56%, #fff01f 0%);
}
.section__inner.is-campaign-finish {
	position: relative;
}
.section__inner.is-campaign-finish::before {
	position: absolute;
	top: 7.2rem;
	right: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	max-width: 68rem;
	height: 40rem;
	margin: auto;
	content: '';
	background: url(../img/campaign_special-box_a-plus-b_all-finish_im01.png) no-repeat center top;
	background-size: 100% auto;
}
.link-box a{
  color: #333;
}
.link-box--ttl{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.link_arrow{
  justify-content: center;
}
h4.stus-ttl__lv4{
  color: var(--font-dark);
}
.related-link{
  text-align: center;
}
.related-link a{
  display: inline-block;
  padding: 0 15px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #edf9fc;
  border: 1px solid #9e7316;
  border-radius: 15px;
  transition: all 0.2s ease;
}
.related-link a:hover{
  opacity: 0.8;
}
.related-link img{
  width: 100%;
  max-width: 280px;
}

/* -------------

finish

-------------- */

/* content-second-title__finish-txt */
.content-second-title__finish-txt {
	position: relative;
	display: inline-block;
	padding: 1.6rem 0;
	margin: 0.8rem 0 3.4rem;
	font-size: max(2.6rem, 22px);
	color: #e62413;
}
span.content-second-title__finish-txt::before {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 2rem;
	background: linear-gradient(transparent 70%, #fcc 0%);
}
.content-second-title__finish-txt__inner {
	display: inline;
	background: linear-gradient(transparent 70%, #fae765 0%);
}

/* txt-link--finish */
.txt-link--finish {
	padding-left: 0;
	text-decoration: none;
	pointer-events: none;
}
.txt-link--finish::before {
	content: none;
}

/* inquiry-box__btn--finish */
.inquiry-box__btn--finish a {
	color: #ccc;
	pointer-events: none;
	background-color: #999;
}
.inquiry-box__btn--finish a::after {
	content: none;
}
.inquiry-box__title--finish span {
	border-color: #ccc;
}
.inquiry-box__title--finish {
	color: #666;
}
.inquiry-box__txt--finish{
	color: #666;
}
.inquiry-box__title--finish span::before {
	border-color: #ccc transparent transparent;
}

/* -------------

lineup-box__img--magazine

-------------- */
.lineup-box__img--magazine {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 3.2rem;
}
.lineup-box__img--magazine img {
	width: 100%;
	max-width: 16rem;
	box-shadow: 0 0.6rem 1.2rem -0.2rem rgb(50 50 93 / 25%), 0 0.3rem 0.7rem -0.3rem rgb(0 0 0 / 30%); /* #22 */
}
.lineup-box__img--magazine img:not(:first-of-type) {
	margin-left: 1.6rem;
}
.lineup-box__img--magazine img:nth-of-type(1) {
	z-index: 4;
}
.lineup-box__img--magazine img:nth-of-type(2) {
	z-index: 3;
}
.lineup-box__img--magazine img:nth-of-type(3) {
	z-index: 2;
}
.lineup-box__img--magazine img:nth-of-type(4) {
	z-index: 1;
}

/* -------------

lineup-box__img--product

-------------- */
.lineup-box__img--product {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 3.2rem;
}
.lineup-box__img--product img {
	width: 100%;
	height: auto;
}

/* -------------

info-box

-------------- */
.info-box .content-fourth-title {
	margin-top: 8rem;
}
.info-box + .inquiry-box {
	margin-top: 8rem;
}

/* info-box-def */
.info-box-def {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	margin-top: 2rem;
}
.info-box-def dt {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16%;
	border-bottom: solid 0.1rem #ccc;
}
.info-box-def dd {
	position: relative;
	width: 84%;
	padding: 1.2rem 3.2rem;
	border-bottom: solid 0.1rem #ccc;
}
.info-box-def dd::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0.3rem;
	height: calc(100% - 3rem);
	margin: auto;
	content: "";
	background-color: #eee;
}

/* ============

media queries

============= */

/* -------------

タブレット・スマホ

-------------- */

@media (width <= 959px) {
	/* special-box */
	.special-box-list__item {
		width: calc(100%/2 - 1.2rem);
	}
	.special-box-list__item:not(:nth-of-type(3n+1)) {
		margin-left: 0;
	}
	.special-box-list__item:nth-of-type(even) {
		margin-left: 2.4rem;
	}
}

/* -------------

スマホ

-------------- */

@media (width <= 519px) {
  /* cmn */

	/* only */
	.pc_tablet_only {
		display: none;
	}
	.tablet_only {
		display: none;
	}
	.sp_only {
		display: block;
	}
  .section {
    margin-top: 0;
  }

	/* cmnのルート内縮小率の違いによるフォントサイズ調整 */
  .special-box-list__number__circle {
    font-size: calc( 3.2rem * 0.85 );
    font-weight: bold;
  }
  .special-box-list__title {
    font-size: calc( 2.2rem * 0.85 );
  }

	/* special-box */
	.special-box-list__item {
		width: 100%;
	}
	.special-box-list__item:nth-of-type(even) {
		margin-left: 0;
	}
	.special-box-list__number small {
		top: -2.6rem;
	}
	.special-box-list.is-b-finish::before {
		content: none;
	}
	.special-box-list.is-b-finish .special-box-list__item {
		position: relative;
	}
	.special-box-list.is-b-finish .special-box-list__item::before {
		position: absolute;
		inset: 0;
		z-index: 10;
		width: 100%;
		max-width: 451px;
		height: auto;
		margin: auto;
		content: "";
		background: url(../img/campaign_special-box-list_b-finish_im01.png) no-repeat center center;
		background-size: 100% auto;
	}
	.special-box__red-txt {
		text-align: left;
	}
	.content-second-title__finish-txt {
		text-align: left;
	}

  /* content-nav-title */
  .content-nav-title__catch::before,
	.content-nav-title__catch::after {
		bottom: 0;
	}
}


/* スマホ----------------------------- */
@media screen and (width <= 767px){
  .flow::after {
    bottom: 27%;
  }
  .info{
    margin-bottom: 30px;
  }
  .content-main-img{
    margin: 20px 0 30px;
  }
}

/* PC----------------------------- */
@media screen and (width >= 768px){
  .flow::after {
    bottom: 50px;
  }
  .info{
    margin-bottom: 80px;
  }
  .link-box--ttl{
  font-size: 1.8rem;
  }
  .related-link a{
    display: inline-block;
    width: 440px;
  }
  .related-link img{
    width: 300px;
  }
}