@charset "utf-8";

/* 共通 */
:root {
  --color-primary: #020308;
  --color-sub: #05375a;
  --font-midashi: 26px;
  --font-midashi-sp: 20px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Sawarabi Gothic", "Hiragino Sans", "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo,
    Arial, sans-serif;
}
p {
  line-height: 2;
  letter-spacing: 0.4px;
}
.post_content p {
  line-height: 2;
  letter-spacing: 0.4px;
}
#index_slider_message p {
  font-weight: 500;
}
.fasicon .fas {
  display: table-cell;
  vertical-align: middle;
  font-size: 22px;
  padding-right: 24px;
}
.sp {
  display: none;
}
.mt20 {
  margin-top: 2rem !important;
}
.mt30 {
  margin-top: 3rem !important;
}
.mt40 {
  margin-top: 4rem !important;
}
.mt50 {
  margin-top: 5rem !important;
}
.mt60 {
  margin-top: 6rem !important;
}
.center {
  text-align: center;
}
.mb60 {
  margin-bottom: 6rem !important;
}
.mb80 {
  margin-bottom: 4rem !important;
}
.design_button.type1 a {
  font-size: 18px;
  height: 60px;
  padding: 4px 10px;
  line-height: 50px;
}
#cb_content_3 {
  height: auto;
  display: block;
}
:target::before {
  content: "";
  display: block;
  height: 120px; /* 固定ヘッダーの高さに合わせて調整 */
  margin-top: -120px; /* ヘッダーの高さと同じだけマイナス */
  visibility: hidden;
}
.aian_button {
  z-index: 10;
  position: relative;
}
.aian_button {
  display: inline-block;
  min-width: 300px;
  max-width: 100%;
  height: 60px;
  line-height: 50px;
  font-size: var(--font-midashi);
  padding: 4px 10px;
  position: relative;
  overflow: hidden;
  z-index: 3;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  text-align: center;
  background: var(--color-primary);
  color: #ffffff;
  margin-right: auto;
  margin-left: auto;
  border-radius: 60px;
  font-weight: 600;
}

/* Header */
#global_menu > ul > li > a{
	letter-spacing: 3px;
	font-weight: normal;
}
.footer_menu ul li >a{
	letter-spacing: 2px;
}
.pc #header_slider .desc p {
  line-height: 3;
  letter-spacing: 0.2em;
}
#page_header .bg_image{
	background-position: center bottom !important;
}
/* top */
#header_slider .caption{
	width: 90%;
}
.pc #header_slider .item2 .catch {
    margin-bottom: 4rem;
}
.pc #cb_content_1,
.pc #cb_content_2 {
  height: 100vh;
}
.pc #page_header {
  height: 440px;
}
.design_content .content_area_inner {
  width: 70%;
}
.mobile #header_slider .desc {
  padding-top: 30px;
  text-align: left;
	padding-left: 3rem;
	padding-right: 3rem;
}
#top_contact {
  margin-top: 40px;
}
.design_button.shape_type1 a {
  border-radius: 0;
}
#topcontens1 .image_area{
	background-position: center center !important;
}
#topcontens1 .content_area,
#topcontens2 .content_area {
  background-image: url(/wpg/wp-content/uploads/2025/05/bg_contents.jpg) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

#cb_content_1 .catch,
#cb_content_2 .catch,
#cb_content_3 .catch {
  padding-bottom: 2rem;
}

.home .message-boxcontent {
  padding-top: 1rem;
  text-align: right;
}
.home #concept{
	margin-bottom: 4rem;
}
.home #business{
	margin-top: 8rem;
	margin-bottom: 4rem;
}

/* 事業概要 */
.midashi{
    color: #020308;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: .04em;
    text-align: center;
}
.midashi::before {
    display: block;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
    letter-spacing: .04em;
    content: attr(data-label);
}

.company_area .cb_content_inner{
	padding-bottom: 4rem;
}
.company_area-text {
  margin-top: 60px;
  margin-bottom: 60px;
}
.company_area-image {
  text-align: center;
}
.company_area-image img {
  margin-left: auto;
  margin-right: auto;
}
.company_area-memo {
  text-align: center;
	margin-top: 2rem;
}
.company_area-memo ul {
  list-style: none;
  margin-left: auto;
  margin-right: auto;
}
.company_area_message {
  line-height: 2;
	margin-top: 4rem;
	border-top:1px solid #000;
	padding-top: 2rem;
}
.design_content .desc {
  line-height: 2;
}
.design_content.num2 .catch{
	font-weight: 700;
}
/* プライバシーポリシー */
/*
.page-id-3 #page_header{
	height: 130px;
}

.page-id-3 #header{
	height: 70px;
	border-bottom: none;
}
*/
h2.title-policy{
	margin-bottom: 3rem;
	text-underline-offset :1rem;
	line-height: 3rem;
}
.page-id-729 h3{
	line-height: 2.2rem;
}

/* ////////////////////// 問合せ */

.mw_wp_form .error {
  font-size: 14px;
}
.contact_wrapper {
  margin-top: 50px;
}
.form_table {
  border-collapse: collapse;
  margin: auto;
  width: 100%;
  margin-bottom: 4rem;
}
.form_table tr {
  /*
  border-bottom: solid 1px #c9caca;
	*/
}
.form_table th {
  color: var(--color-primary);
  vertical-align: top;
  width: 280px;
  background: none;
  font-weight: 600;
  border: none;
}
.form_table th p {
  align-items: center;
  display: flex;
  justify-content: space-between;
  text-align: left;
  white-space: nowrap;
}
.form_table th p {
  font-size: 18px;
}
.form_table td {
  font-size: 18px;
  min-height: 70px;
  width: calc(100% - 280px);
  background: #fff;
  border: none;
}
.form_table input[type="text"],
.form_table textarea,
.form_table select,
.form_table input[type="email"] {
  font-size: 26px;
  line-height: normal;
  border: 1px solid #c9caca;
  background: #fff;
  position: relative;
}
.form_table input[type="text"],
.form_table textarea,
.form_table input[type="email"] {
  padding: 10px;
  width: 100%;
}
.form_table textarea {
  height: 250px;
}
.form_table input[type="radio"] {
  margin: 0 0 2px 0;
}
.form_table .must {
  background: #a00000;
  color: #fff;
  font-size: 10px;
  padding: 0 5px;
  height: 18px;
  line-height: 18px;
}
.first_confirm button:hover,
.confirm button:hover {
  cursor: pointer;
  background: var(--color-sub);
}
.entryform_btn {
  text-align: center;
}
.first_confirm button,
.confirm button {
  min-width: 280px;
  max-width: 100%;
  height: 60px;
  line-height: 50px;
  font-size: 18px;
  padding: 8px 10px;
  position: relative;
  overflow: hidden;
  z-index: 3;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  text-align: center;
  background: var(--color-primary);
  color: #ffffff;
  margin-right: auto;
  margin-left: auto;
  /*
    border-radius: 60px;
	*/
  font-weight: 600;
  border: none;
  justify-content: center;
}
.first_confirm.inview.animate {
  text-align: center;
}
.first_confirm.inview.animate button {
  margin: 30px 20px 10px 20px;
}
.first_confirm button,
.confirm button {
  transition: 0.3s;
}
#side_menu_logo img {
  max-width: 80%;
}
#side_menu nav ul li a,
#side_menu .sub-menu a {
  padding: 0 50px;
}
#side_menu_logo {
  margin: 25px 0 35px 46px;
}

/* //////////////////////////////////// ここからお知らせページ専用のCSS */

#blog_list .title {
  font-size: 18px;
}
#topnews .news-info_wrapper {
  margin-bottom: 4rem;
}

/* お知らせ一覧全体の囲い */
.news-info_wrapper {
  border-radius: 10px;
}
.news-info_wrapper {
  margin-top: 50px;
}

/* お知らせの行全体の囲い */
.single-post .category {
  display: none !important;
}
.cat_id1,
.cat_id2,
.cat_id3,
.cat_id4,
.cat_id5,
.cat_id6,
.cat_id7,
.cat_id8,
.cat_id9 {
  background: #eeeeee;
  color: #333333;
  padding: 6px 4px;
  font-size: 14px;
}
.cat_id1:hover,
.cat_id2:hover,
.cat_id3:hover,
.cat_id4:hover,
.cat_id5:hover,
.cat_id6:hover,
.cat_id7:hover,
.cat_id8:hover,
.cat_id9:hover {
  background: #eeeeee;
}
#blog_list .category a,
#blog_list .pr_label,
#page_header_inner .category {
  border-radius: 0px;
}
.news-category {
  background: #eeeeee;
  width: 100%;
  color: #333333;
  padding: 6px 4px;
  text-align: center;
  font-size: 12px;
}
.news-row_wrapper {
  border-bottom: 1px solid #bcbcbc;
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 60px;
}
.news-row_wrapper:last-child {
  border-bottom: none;
}
/*  日付とカテゴリ */
.news-date_wrapper {
  font-size: 14px;
  display: grid;
  grid-template-columns: 160px 120px;
  @include fw.mq("sp") {
    grid-template-columns: 45% 1fr;
  }
}
.info,
.exhibition,
.holiday {
  border: 1px solid fw.$dark-pink;
  color: fw.$dark-pink;
  border-radius: 25px;
  width: 100px;
  display: grid;
  place-items: center;
  @include fw.mq("sp") {
    font-size: 1rem;
    width: 60px;
  }
}
.exhibition {
  border: 1px solid fw.$green;
  color: fw.$green;
}
.holiday {
  border: 1px solid fw.$blue;
  color: fw.$blue;
}
/* 日付の囲い */
.news-date {
  display: grid;
  align-items: center;
  padding: 26px 20px 26px 0px;
  @include fw.mq("tab") {
    padding: 10px 20px 10px 40px;
  }
  @include fw.mq("sp") {
    padding: 10px 10px 10px 20px;
    font-weight: 600;
  }
}
/* カテゴリの囲い */
.news-classification {
  display: grid;
  place-items: center;
  @include fw.mq("sp") {
    justify-content: start;
  }
}
/*  お知らせ内容の囲い */
.news-content {
  font-size: 16px;
  letter-spacing: 0.4px;
  line-height: 1.8;
  display: grid;
  align-items: center;
  padding: 26px 0px 26px 20px;
  @include fw.mq("tab") {
    padding: 10px 20px;
  }
  @include fw.mq("sp") {
    padding: 0px 20px 10px 20px;
  }
}

.news-content a {
  color: #08153b;
}
#cb_content_4 .desc a:link{
	color: #FFF;
	text-decoration: underline;
  text-underline-offset:5px;
}
#footer_message{
	font-weight: normal;
}

@media all and (max-width: 1500px) {
	.design_content{
		height: 760px;
	}

}
.design_button,
.design_button span{
	letter-spacing: .04em;
    font-family: var(--tcd-font-type1);
}

@media all and (max-width: 1152px) {
	.box_content .content_inner{
		padding-left:0;

		padding-right: 0;
	}
}
@media all and (max-width: 1150px) {
	.home .box_content .content_inner{
		top: 50%
	}
	.design_content{
		height: 840px;
	}
	.design_content .content_area_inner {
		width: 90%;
	}
}

@media all and (max-width: 950px) {
	.design_content {
		height: auto;
		display: initial;
	}
	.design_content .image_area{
		height: 520px;
	}
	.design_content .content_area_inner{
		width: 90%;
	}
	.design_content .content_area {
		height: 600px;
  	}
}

@media all and (max-width: 768px) {
  p {
    line-height: 1.8;
  }
  .logo img {
    width: 80%;
  }
	.home .content_area p,
	.home .company_area-text{
		font-size: 16px;
	}
  .home .news-row_wrapper {
    grid-template-columns: none;
    padding-top: 6px;
    padding-left: 18px;
	padding-right: 18px;
  }
  .home .news-content {
    padding-left: 0;
    font-size: 14px;
    line-height: 1.2;
    padding: 10px 0px 14px 0px;
  }
  .home .news-date,
  .home .news-classification {
    padding: 14px 14px 0 0;
  }
  .home .cb_content_inner {
    padding: 48px 0 40px;
	  width: 80% ;
  }
  .design_button.type1 a {
    font-size: 14px;
    height: 36px;
    padding: 4px 4px;
    line-height: 26px;
    min-width: 200px;
  }
  .first_confirm button,
  .confirm button {
    font-size: 14px;
    height: 36px;
    padding: 6px 4px;
    line-height: 25px;
    min-width: 200px;
  }
  .design_content .content_area {
    height: 740px;
  }
  .design_content .content_area_inner {
    width: 80%;
  }
  #cb_content_2.design_content .content_area {
    height: 700px;
  }
  .company_area-memo li {
    font-size: 16px;
  }

  #cb_content_4.box_content .content {
    height: 500px;
  }
  .home .box_content .content1 .content_inner {
    top: 350px;
    bottom: 0;
  }
  .home .box_content .content2 .content_inner {
    top: 330px;
    bottom: 0;
  }
  .home .box_content .content3 .content_inner {
    top: 300px;
    bottom: 0;
    padding-left: 0;
  }
  .message-boxcontent {
    padding-right: 6px;
  }
  .form_table th {
    display: block;
    width: 160px;
    padding-left: 0;
    padding-bottom: 10px;
  }
  .form_table th p {
    font-size: 14px;
    min-height: 30px;
    padding: 8px 0px 8px 0;
  }
  .form_table td {
    width: 100%;
    display: contents;
  }
  #topnews .news-info_wrapper {
    margin-bottom: 2rem;
  }
  .news-info_wrapper,
  .company_area-text,
  .contact_wrapper {
    margin-top: 2rem;
  }
  .form_table input[type="text"],
  .form_table textarea,
  .form_table select,
  .form_table input[type="email"] {
    font-size: var(--font-midashi-sp);
  }
  .form_table input[type="text"],
  .form_table textarea,
  .form_table input[type="email"] {
    padding: 6px;
  }
  .fasicon .fas {
    font-size: 12px;
    padding-right: 14px;
  }
  .company_area-memo li {
    font-size: 14px;
  }
  #mw_wp_form_mw-wp-form-56 {
    margin-top: 30px;
  }
  .home .message-boxcontent {
    padding-top: 0.5rem;
  }
  .footer_menu ul li {
    font-size: 12px;
  }
  .footer_menu ul {
    padding: 0 16px;
  }
	.company_area-text2-title {
		font-size: 1rem;
	}
	.company_area-text2-naiyo {
		font-size: 1rem;
	}
	#topcontens1 .catch,
	#topcontens2 .catch{
		margin-bottom: 1.8rem;
	}
	#footer_logo img{
		width: 30%;
	}
	.home #concept{
		margin-top: 4rem;
	}
	.home #business{
		margin-top: 4rem;
		margin-bottom: 4rem;
	}
	.company_area .cb_content_inner{
		padding-bottom: 1rem;
	}
	#top_contact .banner_content_inner .desc{
		width: 60%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 3rem;
	}
	.page-id-146 #page_header_inner .desc{
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}

@media all and (max-width: 1500px) {
	#footer_message {
		font-weight: normal;
		width: 76%;
		text-align: left;
		right: 0;
	}
}
@media all and (max-width: 1150px) {
	#footer_message {
		width: 100%;
		text-align: center;
		padding: 0 3rem;
	}
}

/* コンテンツ幅　切替わり */
@media all and (max-width: 750px) {
	.design_content .content_area_inner {
		padding: 0;
	}
	.midashi::before {
		font-size: 1.4rem;
	}
	.banner_content {
		height: 340px;
	}

	#next_prev_post a {
		height: 30px;
		line-height: 30px;
	}
}

@media all and (max-width: 480px) {
  .news-date_wrapper {
    font-size: 14px;
    display: grid;
    grid-template-columns: 140px 120px;
  }
  .company_area-text2-naiyo{
	font-size: 0.8rem;
  }
	.mobile #header_slider .desc {
		padding-left: 2.2rem;
		padding-right: 2.2rem;
	}
}

@media all and (max-width: 400px) {
  .home .box_content .content1 .content_inner {
    top: 330px;
    bottom: 0;
  }
  .home .box_content .content2 .content_inner {
    top: 320px;
    bottom: 0;
  }
  .home .box_content .content3 .content_inner {
    top: 270px;
    bottom: 0;
  }
  .design_content .content_area {
    height: 820px;
  }
	.company_area-text2 {
		width: 100%;
	}
}
