@charset "utf-8";
/*
Theme Name:SOLARIS child
Theme URI:
Description:WordPressテーマ「SOLARIS」の自作子テーマです。
Template:solaris_tcd088
Author:Bscre8
Author URI:https://tcd-theme.com/
Version:2.11.1
*/

/*------------------------------
common
-------------------------------*/

#article {
  width: 810px;
  margin: 0 auto !important;
}

#article #project_title_area,
#article .post_content {
  margin:0 auto 0;
  width: 770px;
}

#main_col {
  width: 810px !important;
  margin: 0 auto !important;
}

@media (max-width: 1201px) {
  #article {
    width: auto;
  }
  #article .post_content {
    width: auto;
  }
}

.material-symbols-outlined {
  vertical-align: middle;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

p {
  letter-spacing: 1px;
}

.post_content p {
  line-height: 1.6 !important;
}

/* fontsize */

p.archive_desc {
  font-weight: 800 !important;
}

.cb_headline .sub_headline {
  font-weight: 600 !important;
}

p,
.news_list .category,
#footer_menu_bottom ul,
#global_menu ul ul,
.category_list_widget li a {
  font-weight: 500 !important;
}
 

/*------------------------------
TOP 
-------------------------------*/

/* グロナビ */
#global_menu > ul {
  margin-left: 350px;
}

.megamenu_b .service_item_list .item {
    writing-mode: vertical-rl;
}

.megamenu_b .service_item_list .content {
    position: relative !important;
    top: 200px;
}

.megamenu_b .service_item_list .sub_title {
    margin: 0 0 0 0 !important;
    position: relative !important;
}

.megamenu_b .service_item_list .sub_title:after {
    top: 160px;
}

#header_logo a {
  height: 79px;
}

@media (max-width: 1201px) {
  #header_logo a {
    height: 59px;
  }
}

/* フリースペース */
.cb_free_space.type2 { 
	margin: 90px 0 0;
}

.cb_free_space.type2 p.desc {
  text-shadow: 1px 1px 10px black;
  font-weight: 800 !important;
}

/* topボタン */
.design_button a {
  font-weight: 800;
}

/* top_works */
.project_list h3.title {
  width: 100%;
  padding: 20px 0 ;
  text-align: right;
  bottom: 0;
  background-color: rgba(51, 51, 51, 0.5);
}

/*------------------------------
main_contents
-------------------------------*/
/* 背景 */

#bread_crumb,#main_contents,#footer {
	background-color: white;
}

/*
#main_contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%; 
  width: 200%; 
  height: 9370px; 
  background: linear-gradient(14deg, #ceeaee 0%, #ceeaee 95%, #c9151e 95%);
  z-index: -1; 
}*/

#main_contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%; 
  width: 200%; 
  max-width: 2110px;
  height: 100%; 
  background-color: #ceeaee;
  z-index: -1; 
}

@media (max-width: 1200px) {
  #main_contents::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 900px) {
    #container {
      width: 810px;
      margin: 0 auto;
    }
}

@media (max-width: 750px) {
    #container {
      width: 100%;
    }
}


/*------------------------------
about-us
-------------------------------*/
/* table */
table.about {
  border-collapse: collapse;
  font-size: 1rem;
  letter-spacing: 1px;
}

table.about.word_break {
  white-space: normal;
  word-break: break-all;
}

table.mention {
  border: none;
}

.post_content table.about th,
.post_content table.mention th {
  background-color: #f5f5f5;
}

.post_content table.mention caption {
  text-align: left;
}

.post_content table.mention th {
  width: 28%;
}

.post_content table.mention span {
  font-weight: 500;
  font-size: 1.2em;
}

#post_image2 {
    background-size: contain !important;
}

/* history */

.post_content .timeline-content h3 { 
    font-size: 16px;
    margin: 0;
}

.post_content p.timeline-date {
  margin: 0;
}

.timeline {
  list-style: none;
}

.timeline > li {
  margin-bottom: 60px;
}

span.year {
  padding-left: 8px;
}

/* for Desktop */
@media ( min-width : 640px ){
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }

  .timeline-date {
    width: 150px;
    float: left;
    margin-top: 20px;
  }

  .timeline-content {
    width: 70%;
    float: left;
    border-left: 3px #ceeaee solid;
    padding-left: 30px;
    min-height: 100px;
  }

  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #033b88;
    position: absolute;
    left: 146px;
    top: 4px;
    border-radius: 100%;
  }
}

/*------------------------------
our-business
-------------------------------*/
/* TOP */
.business-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.business-link {
  width: calc(25% - 10px);
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  box-sizing: border-box;
  border: 1px solid #ccc;
  transition: opacity 0.3s ease;
}

.business-link:hover {
  opacity: 0.7;
}

.business-item {
  text-align: center;
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* width と同じ padding-bottom で正方形を維持 */
}

.icon {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%); /* アイコンを水平方向中央に配置 */
  width: 80%;
  padding-bottom: 60%; /* 正方形を維持 */
}

.icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-name {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%); /* メニュー名を水平方向中央に配置 */
  font-size: 14px;
}

.post_content .business-list-container a {
  font-weight: 600;
  letter-spacing: 2px;
}

@media (max-width: 750px) {
  .business-link {
    width: calc(50% - 10px);
  }
}

@media (max-width: 500px) {
  .business-link {
    width: 100%;
  }
}


/* low */
.post_content.business {
  margin: 0 0 0 40px;
}

.sframe {
  margin-bottom: 30px;
  padding: 1.1em 2em;
  border: 3px solid #033b88;
  line-height: 1.8;
}

.sframe {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: auto;
}

.sframe .bridge {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 290px;
}

table {
  border-collapse: collapse;
  border: 2px solid #033b88;
  font-size: 1rem;
  letter-spacing: 1px;
}

thead {
  background-color: #033b88 !important;
  color: white !important;
}

.post_content thead th {
  font-weight: 600;
}

.post_content th,
.post_content td {
  padding: 8px 10px !important;
  background: unset;
}

div.s_table table.achieve th {
  width: 0;
  table-layout: auto;
}

/*
tbody > tr:nth-of-type(even) {
  background-color: #ceeaee;
}*/

div.s_table table.achieve th.year {
  width: 12%;
}

div.s_table table.achieve th.name {
  width: 21%;
}

/* low-sp */
@media screen and (max-width:750px) {
  .post_content.business {
    margin: 0;
  }
}

/*------------------------------
contact
-------------------------------*/
.post_content .aligncenter {
  text-align: center;
}


/*------------------------------
side_col
-------------------------------*/

.category_list_widget {
  position: sticky;
  top: 80px;
}

.category_list_widget li.current-menu-item a,
.category_list_widget li.current-menu-parent a {
  pointer-events: all !important;
}

@media screen and (max-width:1200px) {
  .widget_content {
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width:900px) {
  #side_col {
    width: 100% !important;
    max-width: none !important;
  }
}

/*------------------------------
Works-実績紹介
-------------------------------*/
.contents-cate-twocolumn {
    background-color: #E30000;
    color: #FFF;
    border-radius: 25px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

p.fs-36 {
	font-size:36px;
	font-weight:200;
	line-height:50px;
}

div.s_table th {
  width: 30%;
  vertical-align: middle;
}

.project_list h2.title {
  width: 100%;
  padding: 20px 0 ;
  text-align: right;
  bottom: 0;
  background-color: rgba(51, 51, 51, 0.5);
}

.project_list .title span {
  padding: 0 1em;
  font-weight: 500;
}

/* 実績カテゴリ詳細ページ用スタイル */
#project_title_area .image {
    background-size: contain !important;
}

#project_title_area .title {
    margin: 10px 0;
}

@media (max-width: 750px) {
    #article #project_title_area {
        width: 100%;
    }
}

/* 実績カテゴリ一覧ページ用スタイル */

.achievements-category-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1150px;
    margin: 0 auto;
    padding: 30px 15px;
    gap: 1px;
}

.achievement-category-card {
    display: block;
    position: relative;
    width: 100%;
    /* 横長カードの縦横比を固定したい場合は以下を設定 */
    padding-bottom: 25%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.achievement-category-card:hover {
    opacity: 0.8;
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* グラデーションオーバーレイ */
.card-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    width: 80%;
}

.post_content h2.category-title {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    /* レスポンシブ対応 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .achievement-category-card {
        padding-bottom: 40%; /* スマートフォンでは縦長に (例: 2.5:1) */
    }
    .card-image-overlay {
        padding-left: 8%;
    }
    .category-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
    }
}

@media (max-width: 480px) {
    .achievement-category-card {
        padding-bottom: 55%; /* さらに縦長に (例: 1.8:1) */
    }
}

/*------------------------------
News-お知らせ
-------------------------------*/
.news_list .category {
  width: 115px;
}

article.item .news_cat_id6 {
  background-color: #c9151e; /*お知らせ*/
}
article.item .news_cat_id6:hover {
  opacity: 0.8;
}

article.item .news_cat_id7 {
  background-color: #033b88; /*事業案内*/
}
article.item .news_cat_id7:hover {
  opacity: 0.8; 
}

article.item .news_cat_id7 {
  background-color: #F6AE2D; /*受賞・表彰*/
}
article.item .news_cat_id7:hover {
  opacity: 0.8; 
}

article.item .news_cat_id8 {
  background-color: #F26CA7; /*受賞・表彰*/
}
article.item .news_cat_id8:hover {
  opacity: 0.8; 
}

article.item .news_cat_id39 {
  background-color: #F6AE2D; /*災害復旧対応*/
}
article.item .news_cat_id39:hover {
  opacity: 0.8; 
}

article.item .news_cat_id40 {
  background-color: #018E42; /*社会貢献活動*/
}
article.item .news_cat_id40:hover {
  opacity: 0.8;
}

#post_image {
  background-size: contain !important;
}

/*------------------------------
footer-フッター
-------------------------------*/

#footer_banner .sub_title {
  line-height: 1.5;
}