/*
Theme Name: FUJIKURA
Author: arcoluce Inc.
Description: 藤倉電気工業株式会社様カスタムテーマ
Requires PHP: 7.4
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    font-size: 100%;
}
img {
	justify-content: center;
	align-items: center;
}
body {
  /*font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;*/
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  line-height: 1.6;
  color: #333;
  background-image: url("./images/bk_logo.png");
  background-repeat: no-repeat;
  background-size: 40% auto;
  background-position: right;
  background-attachment: fixed;
	/*background-color: #fafafa;*/
	background-color: #f4f4f4;
  z-index: 10;
}

.header-flex {
	display: flex;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.header {
  /*background: #fff;*/
  background: transparent;
  /*border-bottom: 5px solid #004080;*/
  border-bottom: 1px solid #fff;
  padding: 0px 0;
  /*font-size: 1.2rem;*/
	font-size: clamp(0.3rem, calc(0.8rem + 0.625vw), 1.2rem) !important;
	line-height: 50px;
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 9999;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bg-white {
	background: #fff;
	border-bottom: 5px solid #004080;
}

.logo {
  font-weight: bold;
  color: #004080;
  font-size: 1.4rem;
  padding: 10px;
	width: 20%;
	position: relative;
}
.logo a {
	display: block;
	position: absolute;
	top: 14px;
	left: 20px;
}
.nav {
	width: 50%;
}
.nav ul {
  display: flex;
  list-style: none;
	padding: 10px 10px;
}

.nav ul li {
  margin-left: 20px;
	padding: 0 20px;
}
.nav ul li a {
	color: #fff;
}
.bg-white .nav ul li a {
	color: #000;
}
.nav a {
  text-decoration: none;
  color: #333;
}

.contact-btn {
  background: #004080;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
}

.tel, .email {
  position: relative;
  font-weight: bold;
  color: #004080;
  margin-left: 20px;
  border-left: 1px solid #aaa;
  padding: 10px 0px;
  width: 15%;
  text-align: center;
}
.tel::before {
	content: url("./images/fujikura_co_06.jpg");
	position: absolute;
	top: 12px;
	left: 20px;
}
.email::before {
	content: url("./images/fujikura_co_07.jpg");
	position: absolute;
	top: 16px;
	left: 40px;
}
.email a {
	display: block;
	text-decoration: none;
	color: #004080;
}
@media (max-width: 960px) {
	.nav ul li {
		padding: 0 5px;
	}
	.nav {
		/*width: 40%;*/
	}
	.tel {
		width: 10%;
	}
	.email {
		width: 10%;
	}
}
#content {
}
.outer {
	width: 100%;
	height: 800px;
	overflow: hidden;
}
/* Hero */
.hero {
  position: relative;
  background-image: url("./images/fujikura_co_02.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  color: #fff;
  text-align: center;
  /*padding: 120px 20px;*/
  height: 800px;
	animation  : bgAnime 30s infinite;
}
.hero.no-animation {
	animation: none !important;
}

@keyframes bgAnime {
   0% { opacity: 0; transform: scale(1.3, 1.3); }
   1% { opacity: 1; transform: scale(1.3, 1.3); }
   5% { opacity: 1; transform: scale(1.3, 1.3); }
  21% { opacity: 1; transform: scale(1.0, 1.0); }
  25% { opacity: 1; transform: scale(1.0, 1.0); }
  26% { opacity: 0.1; }
 100% { opacity: 1; }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,50,0.4);
}

.hero-content {
  position: absolute;
  text-align: left;
  left: 10%;
  bottom: 10%;
  z-index: 1;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.hero-desc {
	text-align: center;
	padding: 20px 0;
}
.hero-buttons {
  margin-top: 20px;
  display: block;
}
.hero-buttons div {
  width: 50%;
  margin: 0 auto;
}
.btn {
  display: block;
  margin: 0 8px;
  padding: 10px 20px;
  background: #004080;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
	text-align: center;
}

a.btn:hover {
  background: #ff6600;
}

/* News */
.news {
	display: flex;
	margin: 50px auto;
	background-color: #fff;
	width: 100%;
	justify-content:center
  /*padding: 0 10%;
  max-width: 1100px;
  margin: 50px auto;*/
}
.news-lt {
	width: 20%;
}
.news-rt {
	width: 50%;
}
.news-rt a {
	color: #333;
	text-decoration: none;
}
.news-rt a:hover {
	color: #ff7700;
}
.pc-block {
	display: block;
}
.sp-block {
	display: none;
}

.news-lt p {
	text-align: left;
	font-size: 0.8rem;
	padding-left: 20%;
}
.news-lt p span {
	padding-right: 10px;
}
.news-lt a {
	text-decoration: none;
}
.news ul {
  list-style: none;
  margin: 20px 0;
}
.news h2 {
	font-size: 3.4rem;
	font-weight: 300;
	color: #004080;
	padding: 30px 30px 0 30px;
}
.news li {
  margin: 8px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  padding-left: 8px;
}

.news .more {
  display: inline-block;
  margin-top: 10px;
  color: #004080;
  font-weight: bold;
}

/* Concept */
.concept {
  background-image: url("./images/fujikura_co_05.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.concept h2 {
  font-size: 3.4rem;
  margin-bottom: 20px;
	font-weight: 300;
}

/* Service */
.service {
  text-align: center;
  padding: 60px 20px;
}
.service h2 {
	font-size: 3.4rem;
	font-weight: 300;
	color: #004080;
}
.subtitle {
	font-size: 0.9rem;
	margin-top: -20px;
	margin-bottom: 30px;
}
.service .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service .card {
  background: #f5f5f5;
  max-width: 567px;
  height: 285px;
  padding: 0px;
  font-size: 2.0rem;
  color: #fff;
  line-height: 285px;
}

.service .card.c1 {
  background-image: url("./images/fujikura_co_11.jpg");
}
.service .card.c2 {
  background-image: url("./images/fujikura_co_08.jpg");
}
.service .card.c3 {
  background-image: url("./images/product_btn.jpg");
}
.service .card.c4 {
  background-image: url("./images/fujikura_co_16.jpg");
}

/* About */
.about {
  background: #fafafa;
  padding: 60px 0px;
  text-align: center;
}
.about h2 {
	font-size: 3.4rem;
	font-weight: 300;
	color: #004080;
}
.about h3 {
	font-size: 3.0rem;
	font-weight: normal;
}
.about .grid {
	/*
  display: grid;
  grid-template-columns: repeat(2, 30%);
  gap: 0px;
	*/
  margin-top: 30px;
	display: flex;
}

.about .card {
  background: #175996;
  /*padding: 50px 100px;*/
  padding: 4% 3% 0 3%;
  /*border: 1px solid #eee;*/
  color: #fff;
  width: 30%;
  max-height: 294px;
}

.grid.rt {
	justify-content: flex-end;
	max-height: 294px;
}
.grid.lt {
	justify-content: flex-start;
}
/* Recruiting */
.recruiting {
  text-align: center;
  padding: 80px 20px;
}
.recruiting h2 {
	font-size: 3.4rem;
	font-weight: 300;
	color: #004080;
}
.recruiting h3 {
	/*font-size: 3.4rem;*/
	font-size: clamp(2.0rem, calc(2.5rem + 0.625vw), 3.4rem);
	font-weight: normal;
	color: #fff;
}
.recruiting .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*gap: 0px;*/
  margin-top: 30px;
  max-height: 294px;
}
.recruiting .grid img {
  object-fit: fill;
  width:100%;
  height:100%;
}
@media (max-width: 768px) {
	.recruiting .grid {
		display: block;
	}
	.recruiting {
		margin-bottom: 200px;
	}
}
.recruiting .card {
  background: #175996;
  padding: 60px 30px 60px 30px;
  /*border: 1px solid #eee;
  border-radius: 6px;*/
  color: #fff;
}
.pc-tel {
  position: relative;
  font-weight: bold;
  font-size: clamp(0.3rem, calc(0.8rem + 0.625vw), 1.4rem) !important;
  /*color: #004080;*/
  color: #fff;
  margin-left: 20px;
  border-left: 1px solid #aaa;
  padding: 10px 0px;
  width: 15%;
  text-align: center;	
}
.bg-white .pc-tel {
	color: #004080;
}
.pc-email {
  position: relative;
  font-weight: bold;
  font-size: clamp(0.3rem, calc(0.8rem + 0.625vw), 1.4rem) !important;
  color: #004080;
  margin-left: 20px;
  border-left: 1px solid #aaa;
  padding: 10px 0px;
  width: 15%;
  text-align: center;	
}
.pc-email a, .pc-tel a {
	/*color: #004080;*/
	color: #fff;
	text-decoration: none;
}
.bg-white .pc-email a, .bg-white .pc-tel a {
	color: #004080;
}
.pc-tel img, .pc-email img {
	vertical-align: middle;
	margin-right: 5px;
}
.pc-tel img {
	position: relative;
	top: -3px;
}
.sp-contact {
	display: none;
}
.sp-tel, .sp-email {
	display: none;
}
@media (max-width: 976px) {
  .pc-block {
	display: none;
  }
	.pc-tel, .pc-email {
		display: none;
	}
  .sp-block {
	display: block;
  }
	.about .desc, .about .photo {
		width: 100%;
		display: block;
	}
	.about .desc {
  background: #175996;
  padding: 10px 10px;
  border: 1px solid #eee;
  color: #fff;

	}
	.news-lt, .news-rt {
		width: 100%;
	}
	.news {
		display: block;
	}
	img {
		object-fit: contain;
		width: 100%;
		height: 100%;
	}
	.sp-contact {
		display: block;
		background: #fff;
	}
  .sp-tel, .sp-email {
	  display: block;
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  color: #004080;
  margin-left: 0px;
  /*border-left: 1px solid #aaa;*/
  border-bottom: 1px solid #ddd;
  padding: 10px 0px;
  width: 100%;
  text-align: center;
  }
  .sp-tel::before {
	content: url("./images/ec.png");
	position: absolute;
	top: 12px;
	left: 28px;
  }
  .sp-email::before {
	content: url("./images/fujikura_co_07.jpg");
	position: absolute;
	top: 12px;
	left: 20px;
  }
  .sp-email a, .sp-tel a {
	display: block;
	text-decoration: none;
	color: #004080;
  }
	.nav ul {
		gap: 0px;
	}
	.about-company {
		margin-top: 60px;
	}
}

/* Contact */
.contact {
  background: #333;
  color: #fff;
  text-align: center;
}
.contact h2 {
	font-size: 3.4rem;
	font-weight: 300;
}
.contact .tel {
  font-size: 1.2rem;
}
.contact .email {
  font-size: 1.2rem;
}
.copy {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-1 {
	background-image: url("./images/fujikura_co_30.jpg");
	background-position: center;
	background-size: cover;
}
.footer-info {
	padding: 40px 0;
}
.footer-contact {
	display: flex;
	color: #fff;
	border-top: 1px solid #fff;
}
.footer-contact .grid-tel, .footer-contact .grid-email {
	width: 50%;
	padding: 50px 0;
}
.footer-contact .grid-email {
	border-left: 1px solid #fff;
}
.footer-contact .grid-email a {
	color: #fff;
	text-decoration: none;
}
.footer-contact p {
	display: inline-block;
	position: relative;
}
.footer-contact span {
	position: absolute;
	top: 5px;
	left: -35px;
}
.footer-2 {
	height: 300px;
	background: #373C40;
	font-size: 0.8rem;
    /*display: grid;
    grid-template-columns: repeat(2, 50%);*/
}
.footer-2 h3 {
	font-weight: normal;
}
.ft2-left {
	display: grid;
	grid-template-columns: repeat(3, 20%);
	padding: 50px 100px;
}
.ft2-left .inner {
	text-align: left;
}
.ft2-left ul {
	list-style-type: none;
}
.ft2-right {
	padding: 50px 50px;
	width: 50%;
	margin: 0 auto;
}
.ft2-right .addr {
	padding: 0 0 20px 0;
}
.ft2-right .right-grid{
	display: grid;
	grid-template-columns: 60% 40%;
	row-gap: 30px;
	text-align: left;
}
.contact .copyright {
	font-size: 0.6rem;
	background: #373C40;
	color: #fff;
	padding: 20px 0;
}
.footer-2 a {
	color: #fff;
	text-decoration: none;
}
.footer-2 a:hover {
	color: #ff7700;
}
/* ========================= */
/* Responsive Design */
/* ========================= */

@media (max-width: 1024px) {
  .nav ul li {
    margin-left: 12px;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }
	body {
		background: none;
	}
  .hero-buttons {
    margin-top: 20px;
    display: block;
  }
  .hero-buttons div {
    width: 100%;
  }
  .nav ul {
    flex-direction: column;
    margin: 10px 0;
  }

  .nav ul li {
    /*margin: 8px 0;*/
	margin: 0;
  }

  .tel {
    margin: 10px 0;
  }

  /* Hero */
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .btn {
    margin: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* Grid (Service, About) */
  .service .grid,
  .about .grid {
    grid-template-columns: 1fr;
  }

  .service .card,
  .about .card {
    /*padding: 25px;*/
  }

  /* Section headings */
  section h2 {
    font-size: 1.6rem;
  }

  .concept {
    padding: 60px 15px;
  }

  .recruiting {
    /*padding: 60px 15px;*/
  }

  .contact {
    padding: 40px 15px;
  }
  .footer-2 {
      height: 600px;
	  background: #373C40;
  	font-size: 0.8rem;
      display: block;
  }
  .footer-2 h3 {
	font-weight: normal;
  }
  .ft2-left {
	display: block;
	padding: 10px;
  }
  .ft2-left .inner {
	text-align: left;
  }
  .ft2-left ul {
	list-style-type: none;
  }
  .ft2-right {
	padding: 10x;
  }
  .ft2-right .addr {
	padding: 0 0 20px 0;
  }
  .ft2-right .right-grid{
	display: block;
	text-align: left;
  }
  .contact .copyright {
	font-size: 0.6rem;
	background: #373C40;
	color: #fff;
	padding: 20px 0;
  }
  .footer-contact {
	display: block;
	color: #fff;
	border-top: 1px solid #fff;
  }
  .footer-contact .grid-tel {
	width: 100%;
	padding: 35px 0;
	border-bottom: 1px solid #fff;
  }
  .footer-contact .grid-email {
	  width: 100%;
	  padding: 50px 0;
	  border-left: none;
  }
	.logo a {
	display: block;
	position: absolute;
	top: 5px;
	left: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  body {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    display: block;
    margin: 8px 0;
  }
}


/* ハンバーガーボタン */
.menu-btn {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
	position: absolute;
	top: 15px;
	right: 25px;
}

.menu-btn span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-btn span.black {
	background: #333;
}
/* アイコンを「×」に変形 */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(18px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-18px);
}

/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.overlay.active {
  display: block;
}

/* スマホ表示 */
@media (max-width: 976px) {
  .menu-btn {
    display: flex;
  }
	.tel, .email {
		display: none;
	}
	.logo {
		margin-bottom: 40px;
	}
	.logo img {
		width: 140px !important;
	}
  .nav {
    position: fixed;
    top: 30px;
    right: -800px; /* 初期は画面外 */
    height: 100%;
    width: 80%;
    background: #efefef;
    flex-direction: column;
    /*padding-top: 60px;*/
    z-index: 1002;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease; /* スライドアニメーション */
	  margin-top: 50px;
  }

  .nav ul {
    margin: 0px 0 0 0;
    padding: 0;
    list-style: none;
  }

  .nav ul li {
    border-bottom: 1px solid #ddd;
	font-size: 1.3rem;
  }

  .nav ul li a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
  }

  .nav.active {
    right: 0; /* 表示位置 */
  }
	.footer-2 {
		display: none;
	}
}

.block-link {
	display: block;
	text-decoration: none;
	transition: all 1s ease;
}
.block-link:hover {
	opacity: 0.6;
}

.main-visual{
  width: 100vw;
  height: 1600px;
  position: relative;
	overflow: hidden;
	background-color: #000;
}

.main-image {
    width: 100vw;
    height: 1600px;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 20s 0s infinite;
    z-index: 0;
    opacity: 0;
}
.main-visual .image-title {
	position: absolute;
	left: 50px;
	bottom: 50px;
	color: #fff;
	font-size: clamp(1.5rem, calc(1.5rem + 0.625vw), 3.0rem);
	padding-right: 50px;
	z-index: 9999;
}
.src1 {
  background-image: url(/wp-content/themes/fujikura/images/fmv_1.jpg);
}
.src2 {
  background-image: url(/wp-content/themes/fujikura/images/fmv_2.jpg);
	animation-delay: 10s;
}
.src3 {
  background-image: url(/wp-content/themes/fujikura/images/fmv_3.jpg);
	animation-delay: 20s;
}
.src1-blank {
  background-image: url(/wp-content/themes/fujikura/images/fmv-blank.jpg);
	animation-delay: 0s;
}

@keyframes anime {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity: 0;
        transform: scale(1.2);
        z-index: 10;
}
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@media screen and (min-width: 769px) and (max-width: 1360px) {
	.nav {
		/*width: 40%;*/
	}
	.nav ul li {
		padding: 5px;
	}
	.logo, {
		width: 15% !important;
	}
	.logo img {
		width: 100%;
	}
	.pc-tel {
		font-size: 0.5rem;
		width: 16%;
		padding-left: 2px;
	}
	.pc-tel img {
		width: 16px;
		height: 16px;
	}
	.pc-email {
		font-size: 0.5rem;
		width: 10%;
		padding-left: 1px;
	}
	.pc-email img {
		width: 16px;
		height: 16px;
	}
}
.header a:hover {
	color: #ff7700;
}
.header .nav ul li a:hover {
	color: #ff7700;
}
a .post-date {
	color:  #004080;
}