
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, sans-serif;
    line-height: 1.6;
	font-size: 1.0rem;
    color: #333;
    background-color: #555;
}

a:hover {
    text-decoration: none;
}



/***** イントロ *****/

.my_intro {
    display: block;
}
.my_intro_inner {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #555;
    z-index: 2000;
}
.my_intro_logo {
    width: 200px;
    transform: scaleY(0);
    /* 初期は高さ0 */
    transform-origin: center bottom;
    /* 下から伸びるように */
    animation: logoExpand 2s ease forwards;
}

@keyframes logoExpand {
    0% {
        transform: scaleY(0);
        opacity: 1;
    }

    70% {
        /* 通常の高さまで */
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        /* さらにフェードアウト */
        transform: scaleY(1);
        opacity: 0;
    }
}



/***** ヒーロー *****/

.my_hero {
    width: 100vw;
    height: calc(100vh - 86px);
    position: relative;
    display: none; /* flex */
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity .8s ease;
}
.my_hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover; /* png用 */
}
.my_hero-video-mobile {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover; /* png用 */
}

.my_hero-content {
    width: 320px;
    z-index: 2;
}

.home .entry-content-wrap {
    padding: 0;
}


@media (max-width: 768px) {
    .my_hero-video {
        display: none;
    }
    .my_hero-video-mobile {
        display: block;
    }
}






/* 共通（news一覧） */
.news-post-list {
	margin-bottom: 20px;
}
.news-item {
  display: flex;
  flex-wrap: wrap;
	align-items: center;
  border-bottom: 2px dotted #555;
	padding: 8px 0;
	cursor: pointer;
}
.news-item:first-child {
  border-top: 2px dotted #555;
}
.news-item a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}
.news-date {
  margin-right: 20px;
	color: white;
	width: 126px;
}
.news-cate {
  background: #c41e3a;
  color: white;
  border-radius: 3px;
  margin-right: 20px;
  font-size: 14px;
  width: 110px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.news-cate a {
}
.news-item:hover .news-cate a {
  background: #e6e6fa;
  color: #c41e3a;
}
.news-content {
  flex: 1;
	color: white;
}
.news-post-list.light .news-date a,
.news-post-list.light .news-content a {
	color: black;
}
.news-item .item-break {
  flex-basis: 0%;
}
.news-arrow {
  height: 24px;
  width: 24px;
}
.news-arrow img {
  display: block;
}
.news-item:hover .news-arrow img {
  content: var(--arrow-hover);
}
/*
.news-item:hover .news-arrow img {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(var(--uploads-url)/2025/10/circle-arrow_02.svg);
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
*/

.news-item:hover .news-cate {
  border: 1px solid #c41e3a;
  background-color: #e6e6fa;
}
.news-item:hover .news-date a,
.news-item:hover .news-content a {
  color: #c41e3a;
}

@media (max-width: 768px) {
  .news-item .item-break {
    flex-basis: 100%;
    height: 0;
  }
	
}



/* サブページ共通(hero余白) */
.page .entry-content-wrap {
    padding: 0;
}


/* サブページ共通(hero) */
.kb-row-layout-id18_089aa8-b9 > .kt-row-column-wrap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.my_hero-subpage {
	width: 100vw;
	height: 300px;
	border-bottom: #333 solid 20px;
}
.my_hero-subpage .my_hero-content {
	width: 500px;
	height: 100px;
	padding: 0 1.5rem;
	margin-top: 90px !important;
	margin-bottom: 90px !important;
}
.my_hero-subpage .my_hero-content figure {
	margin-bottom: 0 !important;
}
.my_hero-subpage .my_hero-content p {
	color: white;
	font-size: 1.23rem;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}



/* サブページ共通（パンくずリスト） */
.breadcrumbs {
	margin-top: 10px;
}
.breadcrumbs a {
	text-decoration: none;
	color: black;
}



/* サブページ共通（セクション） */
.my_subpage-section {
	margin: 20px 32px;
	display: flex;
	flex-direction: column;
}
.my_subpage-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	color: #c41e3a;
  margin-top: 50px;
  margin-bottom: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1.2rem;
  border: none;
  border-top: 2px dotted #555;
  border-bottom: 2px dotted #555;
}
.my_subpage-date {
	font-size: .8rem;
	color: black;
}
.my_subpage-detail-wrap {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.my_subpage-detail-wrap p {
    margin-block-end: 1em;
}
.my_subpage-detail-left {
	width: 50%;
	margin-bottom: 20px;
}
.my_subpage-detail-right {
	width: 45%;
	text-align: right;
	margin-bottom: 20px;
}
.my_subpage-detail-wrap-column {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
	.my_subpage-section {
		margin: 20px 16px;
	}
	.my_subpage-detail-wrap {
		flex-direction: column;
	}
	.my_subpage-detail-left {
		width: 100%;
		margin-bottom: 20px;
	}
	.my_subpage-detail-right {
		width: 100%;
	}
}



/* 共通（会社理念） */

.my_company-philosophy-item {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin-bottom: 0 !important;
	padding-left: 0 !important;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
.my_company-philosophy-left {
	width: 35px;
}
.my_company-philosophy-right {
	width: 90%;
}

.my_president-name {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
.my_president-position {
  font-size: 0.8rem;
}
.my_philosophy-img {
    width: 60%;
    margin: 0 0 20px auto;
}
.my_company-addr-list {
	display: flex;
	list-style-type: none;
}
.my_company-addr-list {
	display: flex;
	flex-direction: row;
  flex-wrap:wrap;
}
.my_company-addr {
	width: 60%;
}
.my_company-map-btn {
	width: 40%;
}
.my_company-map-btn .right-arrow {
	color: #c00;
	margin-right: 10px;
}

@media (max-width: 768px) {
  .my_company-philosophy-item {
		padding-left: 0;
	}
	.my_company-philosophy-left {
		width: 12%;
	}
	.my_company-philosophy-right {
		width: 88%;
	}
    .my_philosophy-img {
        width: 100%;
        margin: 0 0 20px 0;
    }
	.my_company-addr {
		width: 100%;
	}
	.my_company-map-btn {
		width: 100%;
	}
}

/* サブメニュー */
.header-navigation .header-menu-container ul ul li.menu-item > a {
    color: #333 !important;
}
.header-navigation .header-menu-container ul ul li.menu-item > a::before {
  font-family: "Font Awesome 6 Free";
  content: "\f054"; /* fa-chevron-right のUnicode */
  font-weight: 900; /* solid用 */
  display: inline-block;
  margin-right: 8px; /* 文字との間隔 */
  transition: transform 0.2s ease, color 0.2s ease;
}
.header-navigation .header-menu-container ul ul li.menu-item:hover > a {
    color: #EAF4FF !important;
    background-color: #C41E3A !important;
}
.header-navigation .header-menu-container ul ul li.menu-item {
    border-bottom: 1px solid #fff !important;
}



/***** ヘッダー *****/

/* お問合せボタン表示 */
.my_head_mobile_contact,
.mobile-contact-btn {
    display: none;
}

#menu-item-819 {
    background-image: var(--contact);
    background-size: contain;
    background-repeat: no-repeat;
    height: 86px;
    width: 171px;
}
#menu-item-819:hover {
    opacity: .9;
}
#menu-item-819 a {
    height: 86px;
    opacity: 0;
}

@media (max-width: 1024px) {
    .my_head_mobile_contact,
    .mobile-contact-btn {
        display: block;
        height: 60px;
    }
    .mobile-contact-btn img {
        display: block;
        height: 60px;
        width: 119.27px;
        pointer-events: auto; /* クリックをリンクに伝える */
    }
    #mobile-header .site-header-row-container-inner .site-container {
        padding: 0 0 0 10px;
    }
    #mobile-header .site-header-item {
        margin-right: 0;
    }
}

@media (max-width: 1080px) {
    .main-navigation .menu-item {
        font-size: .9rem;
    }
}

//スクロール時の高さ変更
.item-is-stuck #menu-item-819 {
    height: 60px;
}


/***** フッター *****/

.my_footer_company {
	color: white !important;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.5;
}
.my_footer_company:hover {
    text-decoration: none !important;
}
.my_footer_info_wrap {
	display: flex;
	flex-direction: column;
	
}
.my_footer_subtitle {
	color: white !important;
	font-size: .7rem;
	text-align: left;
}
.my_footer_address {
	color: white !important;	
	text-align: left;
}
.tel a {
    pointer-events: none;
    text-decoration: none;
    color: white !important;
}
.my_footer_tel {
	text-align: right;
	width: 100%;
}
.my_footer_tel img {
	width: 200px;
	margin-left: auto;
}

.footer-html-inner {
    font-size: .6rem;
}

@media (max-width: 768px) {
    .my_footer_tel {
        text-align: center;
    }
    .my_footer_tel a {
        display: inline-block;
        margin: 20px 0 0 0;
    }
    .my_footer_tel img {
	    width: 60px;
		height: 60px;
	}
}


/* モバイルドロワー */

.mobile-company-info {
    position: fixed;
    bottom: 0;
}
.company-name {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 10px;
}
.company-address,
.company-tel {
    font-size: .9rem;
    text-align: center;
}
.company-tel-img {
    text-align: center;
}
.company-tel-img a {
    display: inline-block;
    margin: 20px auto;
}
.mobile-company-info .copyright {
    font-size: .5rem;
    text-align: center;
    margin-bottom: 20px;
}



/***** トップ *****/


body.home .my_service-list {
	list-style: none;
	padding-left: 0;
}
body.home .my_service-list li {
  padding: 0 0 0 32px;
  position: relative;
  font-size: 1.3rem;
  color: white;
}
body.home .my_service-list li:before {
  content: "〇";
  position: absolute;
  left: 0;
  color: white;
}
body.home .my_service-list a {
    color: white;
}
body.home .my_service-list a:hover {
    color: lightgray;
}


body.home .my_map-placeholder {
    width: 100%;
}

body.home .my_map-placeholder iframe {
  /*position: absolute;*/
  top: 0;
  left: 0;
  width: 100%;
	height: 15vw;
  border: 0;
}

body.home .my_works-list {
    margin-bottom: 20px;
}
body.home .my_works-list p {
    margin-bottom: 0;
}
body.home .my_works-list a {
    text-decoration: none;
    color: black;
}

.my_section-title {
    margin-bottom: 0 !important;
}

body.home .section-subtitle {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 1.2rem;
}
body.home .section-content {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

body.home .kb-row-layout-id813_d789b6-71 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) !important;
}

@media (max-width: 768px) {
	body.home .my_map-placeholder iframe {
		height: 60vw;
	}
}


/***** 会社案内 *****/

table.my_company-table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ccc;
	margin-bottom: 0 !important;
}

.my_company-table th,
td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

.my_company-table th {
  background-color: #f7f3f2;
  text-align: left;
  width: 20%;
  white-space: nowrap;
}

.my_company-table .map-btn {
  display: inline-block;
  padding: 4px 8px;
  background-color: #c00;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  text-decoration: none;
  margin-left: 5px;
}

.my_company-table .note {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}


.sdgs-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 30px;
}
.sdgs-img {
  width: 20%;
  margin-right: 20px;
}
.sdgs-img img {
  width: 100%;
  height: auto;
}
.sdgs-content {
  width: 80%;
}
.sdgs-title {
  font-weight: bold;
  margin-bottom: 5px;
  background-image: radial-gradient(circle, #555 1px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 8px 2px;
}
.sdgs-text {
  color: #AC2A31;
}
.sdgs-detail {
  margin-top: 10px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  table.my_company-table,
  .my_company-table tbody,
  .my_company-table tr,
  .my_company-table th,
  .my_company-table td {
    display: block;
    width: 100%;
  }
}





/* シングルページの表示（共通）*/
.separator-line {
    border-bottom: 2px dotted #555;
    margin-top: 2rem;
}

.single-navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.next-post,
.prev-post,
.to-list {
    color: #fff;
    background-color: #000;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
}
.next-post.hide,
.prev-post.hide {
    visibility: hidden;
}


/** お知らせ（シングルページ）の表示 **/
.my_hero-subpage.news {
    display: flex;
    flex-direction: column;
    background-image: var(--news_hero_bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.my_hero-subpage.news .my_hero-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
}
.my_hero-subpage.news .my_hero-content figure {
    margin-top: 0;
}
.my_hero-subpage.news .my_hero-content figure img {
    height: 60px;
}
.my_hero-subpage.news .my_hero-content p {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #fff;
}

.news-single {
    margin-right: 32px;
    margin-left: 32px;
}

.news-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
	margin-bottom: 3em;
  font-size: 0.9em;
}

.news-navigation a {
  color: black;
  text-decoration: none;
}

.news-navigation a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
	.news-navigation {
		flex-direction: column;
	}
}



/** 商品（シングルページ）の表示 **/
.my_hero-subpage.products {
    display: flex;
    flex-direction: column;
    background-image: var(--products_hero_bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.my_hero-subpage.products .my_hero-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
}
.my_hero-subpage.products .my_hero-content figure {
    margin-top: 0;
}
.my_hero-subpage.products .my_hero-content figure img {
    height: 60px;
}
.my_hero-subpage.products .my_hero-content p {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #fff;
}

.product-single {
    margin-right: 32px;
    margin-left: 32px;
}

.product-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
	margin-bottom: 3em;
  font-size: 0.9em;
}

.product-navigation a {
  color: black;
  text-decoration: none;
}

.product-navigation a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
	.product-navigation {
		flex-direction: column;
	}
}



/** 実績（シングルページ）の表示 **/
.my_hero-subpage.achivements {
    display: flex;
    flex-direction: column;
    background-image: var(--achivements_hero_bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.my_hero-subpage.achivements .my_hero-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
}
.my_hero-subpage.achivements .my_hero-content figure {
    margin-top: 0;
}
.my_hero-subpage.achivements .my_hero-content figure img {
    height: 60px;
}
.my_hero-subpage.achivements .my_hero-content p {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #fff;
}

.achievement-single {
    margin-right: 32px;
    margin-left: 32px;
}

.achievement-tags {
    word-wrap: break-word;
}
.achievement-tag {
    white-space: nowrap;
}

.achievement-tag-title {
    margin-top: 30px;
}
.achievement-tags {
    margin: 5px 20px;
}

.achievement-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
	margin-bottom: 3em;
  font-size: 0.9em;
}

.achievement-navigation a {
  color: black;
  text-decoration: none;
}

.achievement-navigation a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
	.achievement-navigation {
		flex-direction: column;
	}
}



/* 共通（products一覧） */
.products-post-list {
	margin-bottom: 20px;
}
.products-item {
  display: flex;
  flex-wrap: wrap;
	align-items: center;
  border-bottom: 2px dotted #555;
	padding: 8px 0;
	cursor: pointer;
}
.products-item:first-child {
  border-top: 2px dotted #555;
}
.products-item a {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
}
.products-date {
  margin-right: 20px;
	color: #000;
	width: 126px;
}
.products-cate {
  background: #c41e3a;
  color: #fff;
  border-radius: 3px;
  margin-right: 20px;
  font-size: 14px;
  width: 110px;
	height: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.products-cate a {
  color: #fff;
}
.products-item:hover .products-cate a {
  background: #e6e6fa;
  color: #c41e3a;
}
.products-content {
  flex: 1;
	color: white;
}
.products-post-list.light .products-date a,
.products-post-list.light .products-content a {
	color: black;
}
.products-item .item-break {
  flex-basis: 0%;
}
.products-arrow {
  height: 24px;
  width: 24px;
}
.products-arrow img {
  display: block;
}
.products-item:hover .products-arrow img {
  content: var(--arrow-hover);
}

.products-item:hover .products-cate {
  border: 1px solid #c41e3a;
  background-color: #e6e6fa;
}
.products-item:hover .products-date a,
.products-item:hover .products-content a {
  color: #c41e3a;
}

@media (max-width: 768px) {
  .products-item .item-break {
    flex-basis: 100%;
    height: 0;
  }
}



/*** リクルート ***/

.my_message-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.my_message-img {
  width: 60% !important;
  margin-right: 20px;
	margin-left: auto;
}
.my_message-name {
  margin-right: 20px;
}
.my_message-position {
  font-size: 0.8rem;
}
.my_message-voice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 40px;
}
.my_message-voice-item {
  position: relative;
  width: 45%;
  max-width: 800px;
  margin: auto;
}

.recruit-note {
  font-size: 0.8rem;
  margin-top: 10px;
}

.recruit-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.recruit-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  width: 280px;
}
.recruit-arrow {
  height: 24px;
  width: 24px;
  margin-left: 10px;
}

@media (max-width: 768px) {
	.my_message-img {
		margin: 0 auto;
	}
	.my_message-name {
		margin-right: 0;
		text-align: center;
	}
	.my_message-title {
		margin-top: 20px;
		margin-bottom: 0;
	}
	.my_message-voice {
		flex-direction: column;
		align-items: center;
	}
	.my_message-voice-item {
		width: 90%;
	}
}


/*** お問い合わせ ***/
.wpcf7 {
	max-width: 800px;
	width: 100%;
}
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-kana"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-phone"] {
	max-width: 800px;
	width: 100%;
}
#textarea-biko {
	background-color: #eee;
	font-size: .9rem;
}

@media (max-width: 768px) {
    .wpcf7 {
    	width: 90%;
    }
}


/* その他共通 */
.btn_download {
    background-color: #333333;
    color: white;
    border-radius: 10px;
    padding: 0 12px;
}

/* reCAPTCHAバッジ：お問い合わせページ（page-id-812）以外では非表示 */
body:not(.page-id-812) .grecaptcha-badge {
  visibility: hidden;
}
