:root {
    --color-black:#424347;
    --color-gray:#edecec;
    --color-red:#c70000;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
}

h1{
    font-weight: 600;
    font-size:1.6rem;
    line-height: 1.9rem;
    margin-bottom:0.75rem;
    text-align: center;
}
h2{
    font-weight: 600;
    font-size:1.6rem;
    line-height: 1.9rem;
    margin-bottom:0.75rem;
    text-align: center;
}
.h2_sub{
    font-size:1rem;
}

@media (min-width: 769px) {
    .line-break{display: none;}
}

.container{
    padding:2rem;
    max-width:1000px;
    margin:0 auto;
}

/* TOPページ============================= */
.catch{
    background-color: var(--color-gray);
    height: 70vh;
    background-image: url(assets/images/img-catch.webp);
    background-position:bottom;
    background-repeat: no-repeat;
    background-size:90%;
}
@media (min-width: 769px) {
    .catch{height:50vh;}
}
.catch-text{
    margin-top:2rem;
}
.catch h2{
    font-weight: 700;
    font-size:1.5rem;
    line-height: 165%;
    margin-bottom:1rem;
}
.catch p{
font-weight: 400;
line-height: 3rem;
text-align: center;
}


/* TOPページ事業紹介 */
.top-business{
    border:solid 1px var(--color-black);
    margin-bottom:1.5rem;
    border-radius: 7px;
}
.top-business-ttl{
    padding:1rem;
    background-color: var(--color-black);
    border-radius: 7px 7px 0 0;
}
.top-business-ttl .h2_sub{
    font-weight: 700;
    color:#fff;
    font-size:0.7rem;
    margin-bottom:0;
}
.top-business h2{
    font-weight:700;
    font-size:1.35rem;
    color:#fff;
}
.top-business-photo {
    overflow: hidden;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}
@media (min-width: 769px) {
    .top-business-photo{height:350px}
}
.top-business-entertainment{
    background-image: url('assets/images/photo-live-fes2.jpg');
}
.top-business-consultant{
    background-image: url('assets/images/hero_02.webp');
}
.top-business-seminar{
    background-image: url('assets/images/seminar-01.webp');
}
.top-business > p{
    padding:1rem;
    font-weight: 400;
    line-height: 2rem;
}

/* TOP NEWS 一覧 */
.top-news-list li{}
.top-news-list a {
	color:#000;
}
.top-news-list li {
	padding-bottom:1rem;
	border-bottom:solid 1px #666;
}


/* 強み */
.block-point-img{display: flex;justify-content: center;}
.block-point-img img{width:40%;max-width:400px;margin-top:20px;}
.block-point-text{margin-bottom:1.5rem;}
@media (min-width: 769px) {
    .block-point-text{width:70%;margin:0 auto 2.5rem;}
}
.block-point h3{
    font-weight: 700;
    font-size:130%;
    margin-bottom:1.5rem;
}
.block-point h3 > span{
    color:var(--color-red);
    font-weight: 500;
    font-size:140%;
    margin-right:0.25rem;
}
.block-point li {
background-image: url("assets/images/list-red.webp");
background-repeat:no-repeat;
background-position:left top 4px;
padding-left:15px;
line-height: 1.25rem;
margin-bottom:1rem;
}
.block-point-ex{
    padding:0.65rem;
    margin:0.5rem 0;
}
.block-point-ex-ttl{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom:0.5rem;
}
.block-point-ex-part{
    font-weight: 500;
    font-size:1rem;
    border:solid 1px var(--color-black);
    border-radius: 3px;
    padding:0.75rem 0.5rem;
}
.block-point-ex p{
    font-size:0.9rem;
}

.topics{
    width:100%;
    background-color: var(--color-gray);
    margin-bottom:2rem;
}
.topics h2{
    font-size:1.5rem;
    font-weight: 700;
    color:var(--color-black);
    text-align: left;
}
.topics-block{
    margin-bottom:1rem;
}
.topics-block-bnr{
    margin-bottom:0.5rem;
}
.topics-block-date{
    font-size:0.8rem;
    font-weight: 700;
    line-height: 0.6rem;
}
.topics-block-index{
    text-align: right;
}
/* 横らいん */
.line-hori{
	border-bottom:solid 1px #000;
	width:100%;
	margin:0 auto 1rem;
}
@media (min-width: 769px) {
	.line-hori{
		width:70%;
	}
}


/* end TOPページ == */

/* ===================================== */
/* SUBページ============================= */
/* ===================================== */
.hero-sub {
    position: relative;
    width: 100%;
    height: 60vh;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.hero-sub h1{
    padding:1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color:#fff;
    font-weight: 700;
    position: absolute;
    top:40%;

}
.catch-sub{
    background-color: var(--color-gray);
    min-height: 40vh;
    background-image: url(assets/images/logo-earth-white.webp);
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size:50%;
}
@media (min-width: 769px) {
    .catch-sub .container{width:800px;}
}
.catch-sub-text{
    margin-top:1rem;
}
.catch-sub h2{
    font-weight: 700;
    font-size:1.25rem;
    line-height: 145%;
    margin-bottom:1rem;
    text-align: left;
}
.catch-sub p{
font-weight: 400;
line-height: 1.5rem;
}

/* エンタメ部門ページ ==================== */
.hero-sub-entertainment{
    background-image: url('assets/images/photo-fes2024.webp');
}
.artist-section{
    max-width: 1000px;
    margin:0 auto;
}
.artist-p{
    margin-bottom:1rem;
}
.artist-photo{
    width:100%;
    height:250px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (min-width: 769px) {
    .artist-photo{height:500px;}
}
.artist-photo-ringomusume{
    background-image: url('assets/images/photo-ringomusume.jpg');
}
.artist-photo-riceball{
    background-image: url('assets/images/photo-riceball.jpg');
}
.artist-photo-jonagold{
    background-image: url('assets/images/Photo-jonagold.jpg');
}
.artist-photo-alps{
    background-image: url('assets/images/Photo-alps.jpg');
}
.artist-photo-clover{
    background-image: url('assets/images/Photo-clover.JPG');
}
.artist-photo-leaf{
    background-image: url('assets/images/Photo-leaf.JPG');
}
.artist-photo-ourin{
    background-image: url('assets/images/Photo-ourin.jpg');
}
.artist-name{
    font-weight: 700;
    font-size:2rem;
    text-align: center;
    border-bottom:solid 1px var(--color-red);
    padding-bottom:1rem;
}
.artist-name-sub{
    font-weight: 500;
    font-size:1rem;
    text-align: center;
    margin:0.5rem auto 1rem;
    color:#666;
}

/* 広告代理・コンサルタント部門ページ ==================== */
.hero-sub-consultant{
    background-image: url('assets/images/hero_02-v.webp');
  background-size: cover;
}
@media (min-width: 769px) {
    .hero-sub-consultant{
        background-image: url('assets/images/hero_02.webp');
    }
}
.consultant-card{
    border:solid 1px var(--color-black);
    border-radius: 5px;
    padding:1rem;
}
.consultant-card h2{
    font-size:1.5rem;
}
.consultant-card-img{
    width:100%;
    height:200px;
    overflow: hidden;
    margin-top:1rem;
}
@media (min-width: 769px) {
    .consultant-card-img{
        height:500px;
    }
}

/* セミナー ==================== */

.hero-sub-seminar{
    background-image: url('assets/images/photo-kouen.jpg');
  background-size: cover;
  background-position: center;
}
.seminar-ex p{
    font-size:1.25rem;
    font-weight: 700;
    margin-bottom:0.75rem;
}
.seminar-list{}

.details {
	/*border-top: 2px solid #00a5a0;
	border-left: 2px solid #00a5a0;
	border-right: 2px solid #00a5a0;
	&:last-of-type {
		border-bottom: 2px solid #00a5a0;
	}*/
}
.details-summary {
	position: relative;
	display: block;
	padding: 0.75rem 0rem 0.75rem 3rem;
	font-size: 1rem;
	font-weight: bold;
	background-color: var(--color-gray);
    border-bottom: solid 1px #fff;
	&:hover {
		cursor: pointer;
		opacity: 0.8;
	}
	.btn {
		position: absolute;
		top: 37%;
		left: 20px;
		width: 18px;
		height: 18px;
		transform-origin: center center;
		transition-duration: 0.2s;

		&:before,
		&:after {
			content: "";
			background-color: var(--color-black);
			border-radius: 10px;
			width: 16px;
			height: 2px;
			position: absolute;
			top: 7px;
			left: 0;
			transform-origin: center center;
		}
		&:before {
			width: 2px;
			height: 16px;
			top: 0;
			left: 7px;
		}
	}
	&.is-active {
		.btn {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			&:before {
				content: none;
			}
		}
	}
}

.details-summary::-webkit-details-marker {
	display: none;
}

.details-content {
	padding: 10px 10px 2rem 10px;
	p {
		&:last-of-type {
			margin: 0 0 0;
		}
	}
}
.details-content p.details-date{
    font-size:80%;
    font-weight: 600;
    margin-bottom:-0.25rem;
}
.details-content p.details-title{
    margin-bottom:1rem;
}
.details-date-box{
    margin-bottom:1rem;
}
.details-sub-ttl{
    font-weight: 600;
    margin:1rem 0 0.5rem 0;
}
.details-text{
    margin-bottom:1rem;
}

/* 会社概要 ====================  */
.hero-sub-company{
    background-image: url('assets/images/kabe-logo.webp');
  background-size: cover;
  background-position: center;
  letter-spacing:1rem;
}
.president-photo {
    position: relative;
    display: inline-block;
    max-width:1000px;
    left: 50%;
  transform: translateX(-50%);
}

.president-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.president-photo p {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0.5em 1em;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1rem;
}
@media (min-width: 769px) {
    .president-photo p{
        font-size:1.2rem;
    }
}
.message-ttl{font-size:1rem;font-weight: 700;margin-bottom:0.5rem}
.message-p{font-size:0.9rem;margin-bottom:2rem}
.about-us{
    background-color: var(--color-gray);
}
.table01{
    width:100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.table01 tr th, .table01 tr td{
    font-size:1rem;
    padding:0.5rem 0;
    text-align: left;
    font-size:0.9rem;
    border-bottom:solid 1px #ccc
}
.table01 tr th{
    width:6em;
}

/* 注意事項 NOTICE ====================  */
.hero-sub-notice{
    background-image: url('assets/images/photo-notice.jpg');
  background-size: cover;
}

/* 活用例 ====================  */
.advantage{
    background-color: var(--color-gray);
}
.advantage-block{
    padding:1rem;
    background-color: #fff;
    margin-bottom:1rem;
    border-radius: 3px;
}
.advantage h3{
    margin:0.5rem auto;
    font-weight: 700;
    font-size:110%;
}
.advantage h3:first-letter{
    color:var(--color-red);
}

/* 問合せ */
.contact-section{
    background-image: linear-gradient(180deg, rgba(255, 118, 118, 1), rgba(152, 0, 0, 1));
    padding-bottom:2rem;
}

.contact{
    width:100%;
    display:flex;
    justify-content: center;
    padding:0 1rem 1rem;
}
.contact-text-h{
    font-weight: 700;
    font-size:1.25rem;
    line-height: 1.75rem;
    margin-bottom:1rem;
    text-align: center;
}
.contact-text{
    padding:2rem;
    font-size:0.9rem;
    color:#fff;
    max-width: 1000px;
    margin:0 auto;
}
.contact-btn{
    border:solid 3px #fff;
    border-radius: 20px;
    font-size:1rem;
    color:#fff;
}
.contact p{
    padding:0.25rem 0.5rem 0.25rem 0.7rem;
}

.contact-btn-black{
    border:solid 3px var(--color-black);
    color: var(--color-black);
}
.contact-btn-black p{
    font-weight: 700;
}
.contact-btn-black p::after{
    color:var(--color-black);
}


/* archive-news.php ==================== */
.news-archive h1{
    height:100px;
    background-image: url('assets/images/kabe-logo2.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding:100px 0;
    color:var(--color-black);
}
@media (min-width: 769px) {
	.news-archive h1{
		height:400px;
		padding-top:12rem;
		font-size:2rem;
	}
}
.news-list{
    margin-bottom:1rem;
}
.news-list li{
    border-bottom:solid 1px var(--color-black);
    padding:0.75rem 0;
}
.news-list li a{
	color:#000;
}
.news-date{
    margin-top:1rem;
}

/* single-news.php ==================== */
.single-news .date{
    margin:1rem 0;
}
.single-news h1{
    margin-bottom:1rem;
    text-align: left;
}
.single-news content p{
    line-height: 150%;
}


/* NEWS ==================== */
.news-block{
    border-bottom:solid 1px var(--color-black);
    margin-bottom:1rem;
}
.news-img{
    width:100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-img img{
    height:100%;
    max-height: 30vh;
}
.news-block h3{
    font-weight: 700;
    font-size:150%;
    line-height: 135%;
    margin-bottom:1rem;
}
.news-block p{
    margin-bottom:1rem;
}

/* 問合せ ==================== */
.toiawase-form {
	margin-top:60px;
}
.toiawase-form ul{
	padding-left:1.5rem;
}
.toiawase-form li{
	list-style:circle!important;
}


/* 教育機関訪問 ==================== */
.background-allstars{
    width:100%;
	height:300px;
    background-image: url('assets/images/photo-allstars.jpg');
    background-position: center;
	background-repeat: no-repeat;
	background-size:contain;
}

@media (min-width: 769px) {
	.background-allstars{
		height:500px;
		margin-bottom:1rem;
	}
}


/* end SUBページ============================= */


/* パーツ */
.more{
    width:100%;
    display:flex;
    justify-content: end;
    padding:0 1rem 1rem;
}
.more-btn{
    border:solid 1px var(--color-black);
    border-radius: 20px;
    font-size:1rem;
    color:#000;
}
.more a{color:var(--color-black)}
.more p{
    padding:0.25rem 1rem 0.25rem 0.7rem;
}
.arrow{
	position: relative;
}
.arrow::before,
.arrow::after{
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: right;
}
.arrow-triangle::after{
	right: 2px;
	box-sizing: border-box;
	width: 6px;
	height: 6px;
	border: 6px solid transparent;
	border-left: 6px solid var(--color-red);
}

/* 丸囲み三角矢印 */
.circle-arrow a {
  position: relative;
  display: block;
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background-color: #3a6f53;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  text-align: left;
}
.circle-arrow-right a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 22px;
  height: 22px;
  margin: auto;
  border-radius: 20px;
  background-color: #fff;
}
.circle-arrow-right a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid var(--color-red);
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}


/* フォーム */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1em;
    font-family: sans-serif;
  }

  label {
    display: block;
    margin-top: 1em;
    font-weight: bold;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 0.5em;
    font-size: 1em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  textarea {
    resize: vertical;
  }

  button[type="submit"] {
    margin-top: 1.5em;
    padding: 0.75em 1.5em;
    font-size: 1em;
    background-color: var(--color-red);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  button[type="submit"]:hover {
    background-color: var(--color-red);
  }


/* 規格 */
.spacer-L {margin:5rem;}
.spacer-M {margin:3rem;}
.spacer-S {margin:1rem;}
.margin-t_1rem{margin-top:1rem}



/* ---------------------------------------------------- */


img {
    max-width: 100%;
    height: auto
}

img.fit {
    width: 100%
}


/* --PAGE TOP BTN-- */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 10px;
    bottom: 30px;
    background:rgba(255, 65, 65, 0.7);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    border:none;
}

.pagetop__arrow {
    display: block;
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}





/* アニメーションスタイル */
/* ---------------------------- */

/* アニメーション前 */
.u-fade-type-up{
    transform: translateY(50px);
    opacity: 0;
}

/* トリガーでis-activeを付与 */
.u-fade-type-up.is-active{
    transition: 1.2s;
    transform: translateY(0);
    opacity: 1;
}

/* サブミットボタン */
/* ---------------------------- */
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 20px;
  font-weight: bold;
  width: 200px;
  padding: 10px;
	margin:0 auto;
	color:#000;
  border-radius: 10px;
  border: solid 2px #000;
  cursor: pointer;
}
span.wpcf7-spinner {
  display: none;
}

