@charset "UTF-8";

/*
Theme Name: daiga
Auther:daiga
Description:株式会社大雅のホームーページ
Version:1.0
*/

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: 'Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
a {
	color: #000000;
}
h2 {
	font-size: 32px;
}
p {
	font-size: 14px;
}


/*ヘッダー・ナビメニュー*/
@media (min-width: 768px){
	.sp-only {
		display: none;
	}/*タブレットメニュー表示しない*/
	}
	
	
	header {
		background-color:#F2D03B;
	}
	nav a {
		text-decoration: none;
		width: 100%;
	}
	.inner {
		width: 1200px;
		max-width: 100%;
		margin:0 auto;
	}
	.header-right {
		margin-left: 20px;
		align-items: center;
		padding-top: 4px;
	}
	.flex {
		display: flex;
		justify-content: space-between;
		height: 60px;
	}
	nav ul {
		list-style: none;
		align-items: center;
	}
	nav ul li.drop-parent {
		position: relative;
		height: 100%;
		padding-right: 10px;
	}
	nav ul li.drop-parent > a{
		cursor: default;
		padding-top: 18px;
		padding-bottom: 15px;
		padding-left: 10px;
		height: 60px;
	}
	nav ul li.drop-parent > a nav ul li.drop-parent > a {
		height: 60px;
		
	}
	nav ul li.drop-parent:hover > a{
		color: #fff;
		background-color: rgba(0,0,0,0.2);
	}
	/*リストマーク*/
nav ul li.drop-parent:before {
	content:'';
	display:inline-block;
	position:absolute;
	right:25px;
	top:28px;
	width:5px;
	height:5px;
	border-bottom:1px solid #000;
	border-right:1px solid #000;
 transform:rotateZ(45deg);
}
nav ul li.drop-parent:hover:before {
	border-bottom:1px solid #fff;
 	border-right:1px solid #fff;
}
	nav ul li a {
		text-decoration: none;
		margin-right: 30px;
		display: block;
	}
	/*ふわっとドロップダウン*/
	nav ul li.drop-parent ul {
		position: absolute;
		top: 60px;
	}
	nav ul li a:hover {
		color: #fff;
		cursor:  hand;
	}
	nav ul li.drop-parent:hover ul{
		visibility: visible;
  	opacity: 1;
		display: block;
	}
	.drop-parent li ul li a {
		visibility: hidden;
		opacity: 0;
		transition: .5s;
	}
	nav ul li.drop-parent:hover ul li a{
		visibility: visible;
		 opacity: 1;
	}
	.pc-only li:last-child ul{
		left: -100%;
		width: 100%
	}
	.pc-only li ul li{
		background: #F2D03B;
			overflow: hidden;
			width: 250%;
			height: 0;
			color: #fff;
			-moz-transition: .2s;
			-webkit-transition: .2s;
			-o-transition: .2s;
			-ms-transition: .2s;
			transition: .2s;
	}
	.drop-parent li .bnav {
		transition:0.5s;
	}
	.drop-parent li a:hover{
			background: #D4AF01;
	}
	.pc-only li ul li a{
		padding: 19px 15px;
		text-align: left;
		font-size: 14px;
		width: 100%;
	}
	.pc-only li:hover ul li{
		overflow: visible;
		height: 60px;
		border-bottom: 1px solid rgba(0,0,0,0.15);
		border-top: 1px solid rgba(255,255,255,0.3);
	}
	.pc-only li:hover ul li:first-child{
		border-top: 0;
	}
	.pc-only li:hover ul li:last-child{
		border-bottom: 0;
	}
	.name {
		color: #ffffff;
		font-size: 10px;
		letter-spacing: 1px;
	}
	.nav-button {
		color: #ffffff;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 170px;
		height: 43px;
		position: relative;
		background: #000000;
		border-radius: 30px;
		box-sizing: border-box;
		padding: 0 45px 0 25px;
		font-size: 16px;
		text-align: left;
		transition-duration: 0.3s;
	}
	a.nav-button:after {
		content: '';
		width: 8px;
		height: 8px;
		border: 0;
		border-top: 2px solid #fff;
		border-right: 2px solid #fff;
		transform: rotate(45deg);
		position: absolute;
		top: 0;
		bottom: 0;
		margin: auto;
		right: 25px;
	}
	a.nav-button:before{
		content: "";
		position: absolute;
		right: 25px;
		top: 0;
		bottom: 0;
		margin: auto;
		width:15px;
		height: 2px;
		background: #fff;
	}
	
	a.nav-button:hover {
		background: #fff;
		color: #000;
		border: solid 0.5px #000;
	}
	a.nav-button:hover:after {
		border-top: 2px solid #000;
		border-right: 2px solid #000;
	}
	a.nav-button:hover:before{
		background: #000;
	}
	

/*KV*/
.kv {
	width: 100%;
	height: 620px;
	background-image: url("image/kv.jpeg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right 50% bottom;
	display: flex;
	justify-content:center; /*左右中央揃え*/
	}
	/* .webp .kv {
		background-image: url("image/kv.jpg.webp");
	} */
	
.kv-container {
	width: 1200px;
	margin-top: 60px;
}
.kv-title {
	width: 520px;
	margin: 10px 0px;;
	
}
.kv-title h1 {
	font-size: 74px;
	line-height: 90px;
	text-shadow: 1px 2px 3px #808080; /*横に-1px・縦に-2px・ぼかし3px・影の色#808080*/
}
h2.subtext {
	font-size: 28px;
	color: #ffffff;
	background-color: #000000;
	margin: 30px 0 20px 0;
	text-align: center;
	padding: 14px 26px;
	letter-spacing: -2px;
}
.kv-container p {
	font-size: 20px;
	margin-bottom: 20px;
}
.yellow {
	color: #F2D03B;
}
.btn,.btn-s {
	display: block;
	width: 195px;
	height: 50px;
	text-align: left;
	line-height: 50px;
	background: #F2D03B;
	text-decoration: none;
	padding-left: 20px;
	transition-duration: 0.3s;
}

.btn span,.btn-s span {
	color: #000000;
	position: relative;
	font-size: 14px;
	padding-right: 35px;
}
.btn span:after,.btn-s span:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 0px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #000000;
	border-right: 2px solid #000000;
	transform: rotate(45deg);
}
.btn span:before,.btn-s span:before {
	content: "";
	position: absolute;
    right: 0px;
	top: 0;
	bottom: 0;
	margin: auto;
    width:15px;
    height: 2px;
    background: #000;
}
.btn:hover,.btn-s:hover {
	background: #FFF;
	outline: thin solid #000;/*細い線*/
}

/*Topicsお知らせ・コラム*/
.topics h2,
.main.page-articles {
	color: #4B4A4A;
}
.topics p,
.main.page-articles {
	color: #4B4A4A;
}
.topics {
	width: 1200px;
	max-width: 95%;
	height: 430px;
	margin: -50px auto 100px auto;
	background-color: white;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
}
.topicsnews {
	width: calc(100% - 280px);
}
.topics .btn-s {
	display: none;
}
.topics-container {
	display: flex;
	justify-content: space-between;
	padding: 100px 100px 0 100px;
	align-items: stretch;
}
.topics-title {
	position:relative;
	width: 250px;
}
.topics li {
	display: flex;
	padding: 20px 10px 10px 0px;
	font-size: 14px;
	border-bottom: 1px dotted #AEB3BA;
}
.topics li a {
	text-decoration: none;
}
.topics li a:hover {
	color:#FCC809;
}
.topics .text {
	color: #4B4A4A;
}
.topicsnews .label-news,.label-column {
	font-size: 10px;
	border-radius: 3px;
	color: #fff;
	padding: 2px 5px;
	margin: 0 20px;
	text-align: center;
}
.label-column {
	background-color: #DB7107;
	width: 50px;
}
.category-id-6 {
	background-color: #000000;
}
.day {
	color: #FCC809;
}
.topics-title .btn{
  margin-top: 50px;
}
.topics .btn,.btn-s {
	padding-left: 20px;
}
.topics .btn span:after,.topics .btn-s span:after {
	right: -80px;
}
.topics .btn span:before,.topics .btn-s span:before {
	right: -80px;
}

/*company会社案内*/
.company {
	background: linear-gradient(-145deg, #FCF15D, #F2D03B);
}
.company-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content:center;
}
.company-title {
	padding-top: 60px;
	margin-left: 15px;
}
.company-title img {
	padding-top: 15px;
	width: 100%;
	height: 325px;
	object-fit: cover;
	object-position: 100% 100%;
}
.company-block {
	height: 560px;
	display: grid;
	grid-template-columns: repeat(2, 280px);
	background-image: url("image/company.jpeg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	}

.company .box {
	text-align: center;
	outline: 0.1px solid gray;
	position: relative;
	background-image: linear-gradient(-135deg, #000 50px, transparent 0);
	background-position: top 0px right 0px;/*box右上の三角*/
}
.company .ba {
	margin: 5px;
}
.company .bb{
	margin: 5px 5px 5px 0px;
}
.company .bc {
	margin: 0px 5px 5px 5px;
}
.company .bd {
	margin: 0px 5px 5px 0px;
}
.company a.box:hover {
	background-color: rgba(243,242,134,0.2);
}
.arrow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent:-999px;
}
.textbox {
	background-color: rgba(255,255,255,0.5);
	background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.8),rgba(255,255,255,0.0));
	position: absolute;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left: 0;
  	margin: auto;
  	width: 80%;
 	height: 3.5rem;
}
/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	content: '';
	display: block;
	position: absolute;
	top: 8%;
	right: 14%;
	height: 1px;
	background: #FFFFFF;
	transition: all ease .1s;
}
.arrow:before{
	width: 30px;
	transform: translate(30px, 0px);
}
.arrow:after{
	width: 13px;
	transform-origin: right center;
	transform: translate(30px, 0px) rotate(25deg);
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 12%;
}

/*サービス*/
.service-title {
	width: 100%;
	text-align: center;
	margin-top: 95px;
}

.service h3 {
	margin-bottom: 20px;
	font-weight: normal;
	font-size: 24px;
}
hr {
	width: 100px;
	height: 1px;
    background-color: #FCF15D;
    border: none;
	margin-top: 5px;
}
.service-wrap {
	margin: 50px 0 0 0;
}
.service-wrap.meeting {
	background: url("image/meeting.jpg") no-repeat;
}
.service-wrap.cloud {
	background: url("image/cloud2.jpg") no-repeat;
}
.service-wrap.money {
	background: url("image/seminar.jpg")no-repeat;
}
.service-wrap.meeting,
.service-wrap.cloud,
.service-wrap.money {
	background-position: right;
	background-size: 60%;
}
.service-wrap.cloud {
	background-position: left;
}

.service-wrap .contents-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 0px;
}
.service-wrap .contents-wrap .contents {
	background: white;
	width: 45%;
	box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .1);
    padding: 40px;
}
.service-wrap.cloud .contents-wrap .contents {
	margin: 0 0 0 auto;
}
.service-wrap .contents-wrap .contents p {
	margin-top: 30px;
	line-height: 25px;
	color: #333;
}
.button a {
	margin-left:auto; /* 右寄りに */
	margin-right: -70px; /*マイナスマージンではみ出させる */
	margin-top: 15px;
}
.service .btn {
	padding-left: 20px;
}
.service .btn span:after {
	right: -80px;
}
.service .btn span:before{
	right: -80px;
}

/* footer */
footer {
	background: linear-gradient(-145deg, #FCF15D, #F2D03B);
	padding-top: 50px;
	margin-top: 100px;
}
.footer-left {
	margin-left: 15px;
}
.contact {
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
	justify-content: space-between;	
}
footer h3{
	margin: 10px 0 10 0;
}
footer .footer-title {
	border-bottom: 1px solid rgba(100,100,100,1.00);
	padding-bottom: 5px;
	margin-bottom: 15px;
}
.contact p {
	color: #000000;
	font-size: 11px;
}
.contact a {
	text-decoration: none;
}
.contact .tell {
	font-size: 25px;
}
.footer-left, .footer-news, .footer-company, .footer-service {
	width:calc(25% - 30px);/*25%の幅から30pxを引いた幅*/
	margin: 0 15px 0 15px;
}
.footer-left .fas, .footer-left .tell {
	margin-top: 30px;
}
.footer-cat {
	padding-left: 10px;
}

/*リストマーク*/
.arrows li{
 	position:relative;
 	padding-left:10px;
	list-style:none;
}
.arrows li:before{
 	content:'';
 	display:inline-block;
 	position:absolute;
 	left:0px;
 	top:8px;
 	width:5px;
 	height:5px;
 	border-bottom:1px solid #000;
 	border-right:1px solid #000;
	transform:rotateZ(-45deg);
}
/*ここまで*/
.footer-news ul li,
.footer-company ul li,
.footer-service ul li {
	font-size: 15px;
	margin-bottom: 5px;
}
.arrow-left {
	margin-left: -0.8em;
}
.arrow-right {
	margin-left: 0.5em;
}
footer li a{
	margin-top: 0px;
	text-decoration: none;
    display: inline-block;
    position: relative;
}
footer li a .category{
        margin-left: 0.5em;
}
footer li a:hover::after {
  bottom: -2px;
  opacity: 1;
  visibility: visible;
}
footer .nav-button {
	margin-top: 30px;
}

/*リンクの下線*/
footer .footer-news a::after,
footer .footer-company a::after,
footer .footer-service a::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #4B4A4A;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
footer li a:hover::after {
  bottom: 0px;
  opacity: 1;
  visibility: visible;
}
/*ここまで*/

.copy {
	color: aliceblue;
	font-size: 14px;
	text-align: left;
	max-width: 1200px;
	margin: 0 auto;
	font-weight: bold;
	padding: 20px 15px;
}

@media screen and (max-width: 1300px) {
	.service {
		background-size: 75%;
	}
	.service-wrap.meeting,
	.service-wrap.cloud,
	.service-wrap.money {
		background-size: 75%;
}
}
@media screen and (max-width: 1250px) {
.topics {
	max-width: 90%;
}
.kv-container {
	width: 90%;
	margin-top: 60px;
}
}
@media screen and (max-width: 1100px) {
	.service {
		background-size: 100%;
	}
	.topicsnews {
		width: calc(100% - 150px);
}
	.service-wrap.meeting,
	.service-wrap.cloud,
	.service-wrap.money {
		background-size: 100%;
}
}
@media screen and (max-width: 950px) {
.service-wrap {
	margin: 0;
}
/*Topicsお知らせ・コラム*/
.topics {
	height: 600px;
	width: 90%;
	margin: -40px auto 100px auto;
}
.topics .btn {
	display: none;
	}
.topics .btn-s {
	display: block;
	margin: 30px auto;
}
.topics-title {
	width: 100%;
	text-align: center;
	}
.topicsnews {
	width: 95%;
	margin: 0 auto;
}
.topics-container {
	display: block;
	padding: 20px;
}

.topics li {
	display: block;
	padding: 25px 0px 5px 0px;
	font-size: 14px;
}
.topics .text {
	display: block;
}
/*topics*/
.label-column {
	margin: 15px;
}

/* .label-news,.label-column {
	margin-top: -20px;
	margin-left: 80px;
	margin-bottom: 5px;
	
} */
}

@media screen and (max-width: 767px) {
.pc-only {
		display: none;
	}
header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
	z-index: 9999;
}
/*ハンバーガーメニュー*/
.hiraku-open-btn {
    position: absolute;
    transform: translateY(-175%);
		right: 10px;
  }
.flex {
	display: block;
	height: 60px;
	}
.flex li .smenu{
	text-align: left;
	background-color: #000000;
	color: #fff;
	display: block;
	padding: 10px;
}
.flex .ssmenu {
	padding: 10px 0 10px 10px;
}
.flex .yohaku {
	padding: 15px;
}
.flex li a {
	text-decoration: none;
	display: block;
	}

.flex li ul :hover {
	background: #F2D03B;
	}
.flex li a .category{
  margin-left: 0.5em;
}
	
/*リストマーク*/
.flex li ul li {
 	position:relative;
	padding-left:10px;
	list-style:none;
	border-bottom: solid 1px #707070;
	background-color: #fff;
}
.flex li ul li a {
	color: #000;
	}
.flex li ul li:before{
 	content:'';
 	display:inline-block;
 	position:absolute;
 	right:20px;
 	top:25px;
 	width:5px;
 	height:5px;
 	border-bottom:1px solid #000;
 	border-right:1px solid #000;
	transform:rotateZ(-45deg);
}

/*メインビジュアル*/
.kv{
	background-size: cover;
	height: 400px;
	background-position: right 50% bottom;
	}
.kv-container {
	margin-top: 30px;
}
.kv-title {
	width: 350px;
}
.kv-title h1 {
	font-size: 48px;
	line-height: 52px;
}
h2.subtext {
	font-size: 16px;
	margin: 10px 0px 10px 0;
	padding: 8px 5px;
	letter-spacing: -1.0px;
}
.kv-container p {
	font-size: 14px;
	margin-bottom: 10px;
}

/*company会社案内*/
.company-container {
	display: block;
	}
.company-title {
	margin: 0 10px; 
}
.company-block {
	grid-template-columns: 1fr 1fr;
}
/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	top: 7%;
	right: 12%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 10%;
}
	
/*Service*/

.service-wrap .contents-wrap {
	padding: 0px;
}
.service-wrap.meeting,
.service-wrap.cloud,
.service-wrap.money {
	background: none;
}
.service-wrap .contents-wrap .contents {
    background-color: white;
    width: calc(100% - 30px);
    padding-top: 50%;
    margin: 0 auto;
	background-position: center;
}
.service-wrap.meeting .contents-wrap .contents {
	background: url("image/meeting.jpg") no-repeat;
	background-size: contain;
}
.service-wrap.cloud .contents-wrap .contents {
	background: url("image/cloud2.jpg") no-repeat;
	background-size: contain;
}
.service-wrap.money .contents-wrap .contents {
	background: url("image/seminar.jpg") no-repeat;
	background-size: contain;
}
.service-wrap {
	margin: 30px 0px;
}
.service-wrap .contents-wrap {
	padding: 5px;
	}
.service-wrap.cloud .contents-wrap .contents {
	margin: 0 auto;
}
.button a {
	margin-left: 0;
	margin-top: 15px;
}

/* footer */
.contact {
	display: block;
	padding: 0px;	
}
.footer-left {
	width: 80%;
	margin: 0 auto;
	}
.footer-left p {
	font-size: 14px;
	}
.footer-left .tell {
	font-size: 32px;
	}
.footer-news, .footer-company, .footer-service {
	display: none;
}

.nav-button {
	margin-top: 20px;
}
.copy {
	width: 85%;
}
}
@media screen and (max-width: 650px) {
	/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	top: 7%;
	right: 14%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 12%;
}
}

@media screen and (max-width: 575px) {
	.kv {
		min-height: 400px;
  		height: auto;
	}
	.kv-title {
		width: 80%;
		margin: 20px 0;
	}
	.kv-title h1 {
		font-size: 38px;
		line-height: 46px;
	}
	h2.subtext {
		font-size: 16px;
}
	.kv-container p {
		font-size: 14px;
		background-color: rgba(255,255,255,0.5)
	}
	.topics {
		margin: -30px auto 100px auto;
}
	.topicsnews {
	width: 90%;
}
	.topics-container {
		padding: 20px 0px;
	}

/*ボックス右上矢印*/

.company .box {
	outline: 1px solid gray;
}
.company .ba {
	margin: 5px 0px 5px 5px;
}
.company .bb{
	margin: 5px 5px 5px 5px;
}
.company .bc {
	margin: 0px 0px 5px 5px;
}
.company .bd {
	margin: 0px 5px 5px 5px;
}

/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	top: 7%;
	right: 16%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 14%;
}
.service-wrap .contents-wrap .contents {
	padding-left: 18px;
	padding-right: 18px;
}
.copy {
		width: 90%;
	}
}
@media screen and (max-width: 500px){
/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	right: 20%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 18%;
}
}
@media screen and (max-width: 400px){
/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	right: 24%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 20%;
}
.kv-title {
	width: 100%;
	margin: 30px 0;
}
}
@media screen and (max-width: 320px){
	.kv-title {
		margin: 0;
	}
	.kv-title h1 {
		font-size: 32px;
		line-height: 42px;
	}
	.company-block {
    height: 560px;
    display: grid;
    grid-template-columns: repeat(1, 100%);
    background-image: url(image/company.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
	/*ボックス右上矢印*/
.arrow:before,
.arrow:after{
	top: 15%;
	right: 14%;
}

/*ボックス右上矢印動かす*/
.arrow:hover::before,
.arrow:hover::after{
  right: 12%;
}
}
	