/*
Theme Name:VOYAGE child
Theme URI:https://tcd-theme.com/tcd121
Description:WordPressテーマ「VOYAGE」の子テーマ
Template:voyage_tcd121
Author:TCD
Author URI:https://tcd-theme.com/
Version:2.1.2
*/
/*
  ここから下にCSSを追記してください。
*/
body {
background-color:#ffffff;
    letter-spacing: 0.05em;
}
/* TOP KV上文字 */
#index_header_content .content, #index_header_content p.catch_bottom {
    color: #0e357f !important;
}
#archive_category_sort a.active span.c-line-clamp {
     color: #ffffff;
}
/* 親を基準にする */
.opening_animation {
    position: relative;
    height: 100vh;
}
/* ロゴ中央 */
.opening_animation img {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* テキストはロゴの下に固定距離で配置 */
.opening_animation .catch {
    position: absolute;
    top: calc(45% + 120px);
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.1em;
}
header#header p#site_desc {
    color: #ee6c4d;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 0.1em;
}

.kadomaru {
    border-radius: 50px;
}
/* 横並び */
.col_2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.col_2 > * {
    width: calc(50% - 6px);
    margin-right: 12px;
    margin-bottom: 12px;
}
.col_2 > *:nth-child(2n) {
    margin-right: auto;
}
.col_2 > * > * {
    height: auto;
    position: relative;
    overflow: hidden;
}
p.top_txt {
    color: #ee6c4d;
    font-size: 1.2em;
    line-height: 2em;
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: bold;
    margin-top: 60px !important;
}
h2.top_title {
    margin-top: 80px !important;
    border-radius: 50px;
    background-color: #f5c3b8;
    color: #0e357f;
    padding: 20px;
    text-align: center;
    width: 300px;
    letter-spacing: 0.05em;
    border: 2px solid #0e357f;
}
.cb_content_877 .design_headline .headline, #top_voice h2.headline {
    letter-spacing: 0.05em;
}
#topics_list .design_headline h2.headline {
    color: #0e357f !important;
    border-radius: 50px;
    padding: 20px 30px 20px 36px;
    background-color: #f5c3b8;
    display: inline-block;
    margin-top: 80px;
    text-align: center;
    border: 2px solid #0e357f;
}
#topic_list .design_headline h2.headline::after {
    content: "";
    margin-left: -0.2em;
}
#top_service, #top_counter, #top_service02 {
    background-color: #f5f5f5;
}
#topics_list h2.headline {
    letter-spacing: 0.05em;
}
#topics_list .blog_list {
    grid-template-columns: repeat(3, 1fr);
}
#topics_list a.category_button {
    display: block;
}
#top_executive {
    margin-top: 80px !important;
}
@media screen and (max-width: 960px) {
    .col_2 > * {
        width: 100%;
        margin-right: auto;
    }
}
/* TOP事業紹介 */
/* カード全体 */
.service_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
/* SP：1列 */
@media screen and (max-width: 767px) {
    .service_wrap {
        grid-template-columns: 1fr;
    }
}
.service_box {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
    background: #FFFFFF;
    width: 100%;
    padding: 20px; /* 左も揃える */
    border-radius: 10px;
}
.service_box_02 {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
    background: #F5F5F5;
    width: 100%;
    padding: 20px; /* 左も揃える */
    border-radius: 10px;
}
/* 全面リンク */
.service_link {
    position: absolute;
    inset: 0;
    z-index: 10;
}
.service_box:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}
/* 画像 */
.card-img-container {
    flex: 1;
}
.card-img-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 0;
}
/* テキスト */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}
.card-content p {
    margin: 0 0 20px;
}
.card-content p:last-child {
    margin-top: auto;
    text-align: right;
}
.card-title {
    color: #0e357f;
    letter-spacing: 0.05em;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
}
.card-description {
    color: #0e357f;
    line-height: 1.8;
}
/* ボタン */
.more-btn {
    display: inline-block;
    padding: 8px 40px;
    background: #ef8570;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
}
@media screen and (max-width: 1000px) {
.more-btn {
padding: 8px 20px;
}}
.cb_voice .headline_area .button {
    margin-top: 20px;
}
/* SP用 */
@media screen and (max-width: 768px) {
    .service_box {
        flex-direction: column;
        gap: 20px;
    }
    .card-img-container {
        flex: 100%;
    }
}
span.cf_sm {
    font-size: 0.4em;
    display: block;
    line-height: 2.0;
    letter-spacing: 0.05em;
}
/* ヘッダー白に */
#header_logo img {
    filter: none !important;
}
body.home.index_slider_layout_type1:not(.open_drawer_menu) #drawer_menu_button span, body.lp_design_normal:has(#lp_page_header):not(.start_scroll):not(.open_drawer_menu) #drawer_menu_button span, body.no_search_result:has(#no_search_result .bg_image):not(.open_drawer_menu) #drawer_menu_button span {
    background: #0e357f;
}
#header {
    height: 100px !important;
    background: #fff !important;
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}
#drawer_menu {
    z-index: 10020 !important;
}

#drawer_menu_button {
    opacity: 1 !important;
    display: block !important;
    z-index: 10030 !important;
}
body.home #drawer_menu_button {
    position: fixed !important;
}
#index_header_video_wrap {
  height: calc(100svh - 100px);
  margin-top: 100px;
}

/* KV下グラデ削除 */
body.index_slider_layout_type1 #contents_builder:before {
    display: none;
}
/* フッターバナー下グラデ削除 */
#footer_banner .splide__list div.overlay {
    display: none;
}
/* topグループ会社 */
#top_group .blog_list splide__list {
    justify-content: center;
}
#top_group .blog_list .content .title {
    text-align: center;
}
/* ドロワーメニュー調整 */
@media (max-width:1200px) {
    body.home #drawer_menu_button {
        right: 20px !important;
        top: calc(var(--tcd-header-message-height) + 20px) !important;
        margin-left: 20px;
    }
    #drawer_menu_button {
        width: 60px;
        height: 60px;
    }
}
/* ボイスボタン */
.cb_voice .headline_area .button {
    border: 1px solid var(--tcd-accent-color);
    background: #f5c3b8;
    text-align: center;
}
#top_group p, .blog_list .title {
    color: #595959;
}
.blog_list .content {
    color: #595959;
}
.voice_category_area {
margin: 0 auto 120px;
width: 90%;
}
/* 取り組みアイコン */
#topics_list a.category_button {
    background: #f5c3b8;
    font-size: 14px;
}
#topics_list a.category_button:hover {
    background: #0e357f;
}
/* フッター */
#footer_info, #footer_top a {
    color: #393939;
    font-weight: bold;
}
/* グループ会社 */
.blog_list {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}
.blog_list .image {
    border: solid 1px #c7c7c7;
}
.cb_post_list:has(.overlay) .index_post_carousel .blog_list a {
    color: #353535;
}
a.category_button {
    display: none;
}
#contents1_info table tr:first-child {
    display: none;
}
.c-line-clamp {
    color: #0e357f;
}
/* 事業紹介 */
.news_list div.c-date {
    display: none;
}
#page_header_headline {
    color: #0e357f;
}
/* サイドコピー */
#side_copy {
    letter-spacing: 0.1em;
}
/* 取り組み */
#archive_sort_tab .item.active {
    background: #ef8570;
    border-color: #ef8570;
}
#archive_sort_tab .item.active:after {
    background: #ef8570;
}
/* TOP事業紹介クリックエリア */
.business-map {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding-top: 20px;
}
.business-map img {
    width: 100%;
    height: auto;
    display: block;
}
.area {
    position: absolute;
    display: block;
    cursor: pointer;
}
/* エリア位置 */
.b_a1 {
    top: 22%;
    left: 38%;
    width: 24%;
    height: 12%;
}
.b_a2 {
    top: 43%;
    left: 10%;
    width: 24%;
    height: 12%;
}
.b_a3 {
    top: 43%;
    right: 10%;
    width: 24%;
    height: 12%;
}
.b_a4 {
    bottom: 0;
    left: 14%;
    width: 24%;
    height: 12%;
}
.b_a5 {
    bottom: 0;
    right: 14%;
    width: 24%;
    height: 12%;
}
video {
filter: drop-shadow(0px 0px rgba(0,0,0,0));
  outline: none;
  border: none;
}
/* カスタムボタン */
.button-676 {
    border: solid 2px #0e357f;
    border-radius: 40px;
}
.button-676 a {
    color: #0e357f !important;
    letter-spacing: 0.1em;
    font-family: "Arial";
}
/* アーカイブページ　タイトル色 */
#page_header .content .title {
    color: #0e357f !important;
    letter-spacing: 0.1em;
}
#page_header .sub_title {
    color: #595959;
    letter-spacing: 0.1em;
}


/* 事業紹介　２列*/
.news_list .item {
    border: 4px solid #ddd;
    border-radius: 20px;
    margin: 0;
    padding: 20px;
}
.news_list .title {
    font-size: 16px;
    padding-left: 1em;
	line-height:2em;
}
.news_list:has(.image) {
    display: grid;
    gap: 20px 20px;
    grid-template-columns: repeat(2, 1fr);
}
.news_list .image {
    width: 180px;
}
@media (max-width: 900px) {
    .news_list:has(.image) {
        gap: 10px 10px;
    }
}
@media (max-width: 940px) {
    .news_list {
        width: auto;
        margin: 0;
    }
}
.news_list .content {
    width: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px 0;
    padding-left: 0px;
    flex-grow: 1;
}
@media (max-width: 900px) {
    .news_list .content {
        gap: 20px 0;
    }
}
.blog_list .title a {
    text-align: left;
}

img.img-sp {
    display: none;
}
@media screen and (max-width:767px) {
    img.img-pc {
        display: none;
    }
    img.img-sp {
        display: block;
    }
}
/*1200px*/
@media (max-width: 1200px) {
#index_header_video_wrap {
    height: 100svh;
    margin-top: 0;
}
    #drawer_menu_button {
        top: 20px;
    }
    body.index_slider_layout_type1:not(:has(#index_news_ticker)) #index_header_content {
        height: 100vh;
    }
    #header:not(:has(.drawer_menu_button)) #site_desc {
        margin-right: 80px;
    }
    .cb_voice .voice_list_carousel .voice_list:after {
        content: none;
    }
    .cb_voice .voice_list_carousel .voice_list, #topics_list .blog_list, .index_post_carousel .blog_list, #related_contents1_carousel .blog_list {
        justify-content: center;
    }

    #footer_logo .image {
        height: 120px;
    }
body.single-voice .voice_category_area {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
}
p.pcc_spl{
text-align:center;
}
/*ブログカード*/
.tcdce-card__content {
    gap: 20px;
}
.tcdce-card__desc {
    max-height: 5.1em;
    -webkit-line-clamp: 3;
}

@media screen and (max-width: 767px) {
#index_header_video_wrap, #index_header_content_wrap {
     aspect-ratio: 1 / 1;
    height: auto!important;
	margin-bottom:40px;
    }
	#index_header_video {
        width: 100%;
        height: auto !important;
        object-fit: contain;
    }
.opening_animation img {
height:200px;
}
.opening_animation .catch span {
font-size:16px !important;
}

.cb_free {
padding: 0 20px 50px;
}
.cb_gallery .design_headline {
padding-left: 30px !important;
padding-right: 30px !important;
}
.cb_content_877 .design_headline .headline, #top_voice h2.headline {
    font-size:24px !important;
}
.design_button {
margin-top: 50px !important;
font-size: 14px;
min-width: 240px;
    }
.cb_content_3 .design_headline p.desc {
text-align:left;
}
.service_box {
        flex-direction: column;
        gap: 10px;
		padding: 10px;
    }
.service_box br {
        display:none;
    }
.card-img-container {
        width: 90%;
        margin: 0 auto;
    }
.card-content p {
    margin: 0 0 10px;
}
p.top_txt {
    margin-top: 0 !important;
}

.more-btn {
display:none;
}
.service_box_02 {
display:none;
}

.pcc_spl{
text-align:left !important;
}
.pcc_spl br{
display:none;
}
.blog_list {
gap: 30px 0px;
grid-template-columns: repeat(1, 1fr);
    }
  #voice_header img {
    object-fit: contain;
  }
#index_header_video video {
width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}
}
@media screen and (max-width: 620px) {
#footer_top .bg_image {
		display:none;
		    border-color: #ffffff;
	}
	}
@media (max-width: 767px) {
.custom-reverse > .wp-block-column:first-child {
order: 2; /* 1つ目のカラムを2番目に */
}
.custom-reverse > .wp-block-column:last-child {
order: 1; /* 2つ目のカラムを1番目に */
}
}