/*
Theme Name: 札幌ライラック社労士事務所 2025
Theme URI: 
Author: Reber,Co.,Ltd.
Author URI: https://reber.jp/
Description: 札幌ライラック社労士事務所
Version: 1.0
*/

/*
@media screen and (max-width: 1279px){
}
@media screen and (max-width: 1023px){
}
@media screen and (max-width: 767px){
}
@media screen and (max-width: 479px){
}
*/ 
/* CONST */
:root {
  --font-family-mincho: "Zen Old Mincho", serif;
  --font-family-base: "Zen Kaku Gothic New", sans-serif;
  --font-family-en: "Lato", sans-serif;
  --color-primary: #40B1BD;
  --color-text: #496A71;
  --bg-highlight: #F1F8F9;
  --bg-white: #FFFFFF;
  --border-color: #D8D8D8;
  --bg-th: #E5EEF0;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* COMMON */
body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: #fff;
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
}
main{
  margin-top: 120px;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
}
section{
  padding: 0 0 80px;
}
section.pt{
  padding-top: 80px;
}
h1, h2, h3, h4, h5{
  font-family: var(--font-family-mincho);
}
h1{
  font-size: 2.4rem;
}
h2{
  font-size: clamp(1.7rem, 1.6rem + 0.5vw, 2rem);
}
h3{
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
}
h4{
  font-size: 1.2rem;
}
h5{
  font-size: 1rem;
}
.mb2{
  margin-bottom: 2rem;
}
.mb3{
  margin-bottom: 3rem;
}
.text-center{
  text-align: center;
}
.bg-highlight{
	background-color: var(--bg-highlight);
}

.title-sub {
	font-family: var(--font-family-en);
	font-size: 1.0rem;
	margin-bottom: 1rem;
	color: var(--color-primary);
	letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-sub::before {
	content: '';
	height: 1px;
	background-color: var(--color-primary);
	width: 50px;
}
.title-sub.center{
  justify-content: center;
}
@media screen and (max-width: 767px){
  .title-sub{
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
}

.section__title{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 3rem;
}

.section__title.center{
  justify-content: center;
}


.btn01{
  width: 300px;
  border-radius: 10px;
  text-decoration: none;
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 0.933rem + 0.33vw, 1.2rem);
  letter-spacing: 0.08em;
  font-weight: 700;
  position: relative;
  padding:0 30px;
  cursor: pointer;
  font-family: var(--font-family-mincho);
  height: 64px;
  transition: 0.5s;
  border: 2px solid var(--color-primary);
}
.btn01 .btn01__arrow{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  transition: 0.8s;
}
.btn01 .btn01__arrow::after{
  content: '\e8e4';
  font-family: 'Material Icons';
  font-weight: 400;
  font-size: 1.4rem;
  transition: 0.8s;
}
.btn01:hover{
  background-color: #fff;
  color: var(--color-primary);
}
.btn01:hover .btn01__arrow{
  background: var(--color-primary);
  transform: scale(1.3);
}
@media screen and (max-width: 1023px){
  main{
    margin-top: 60px;
  }
}
@media screen and (max-width: 767px){
  section{
    padding: 0 0 40px;
  }
  section.pt{
    padding-top: 40px;
  } 
  .h2__sub{
    font-size: 0.8rem;
  }
  .section__title{
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
  .section__title.center{
    align-items: center;
  }
}
/* デバイス表示切り替え用 共通クラス */
.sp-only {
  display: none !important;
}
.pc-only {
  display: block !important;
}
.sp-hide {
  display: block !important;
}
.pc-hide {
  display: none !important;
}

@media screen and (max-width: 787px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
  .sp-hide {
    display: none !important;
  }
  .pc-hide {
    display: block !important;
  }
}

/* HEADER */
header {
  position: absolute;
  width: 100%;
  height: 120px;
  z-index: 1000;
  top: 0;
  left: 0;
  z-index: 4;
  padding: 10px 0;
  font-family: var(--font-family-mincho);
}
header.fixed {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  position: fixed;
  box-shadow: 0px 3px 12px rgba(211,211,211,0.2);
  top: -100%;
}
header.show {
  top: 0;
  left: 0;
  transition: 0.5s;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

header .nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

header .nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header .nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header .nav-menu a:hover {
  color: var(--color-primary);
}

header .tel {
  font-size: 1.6rem;
  font-weight: 700;
}

header .tel a {
  text-decoration: none;
}

header .tel i {
  color: var(--color-primary);
  margin-right: 5px;
  font-size: 1.8rem;
  vertical-align: sub;
}
header .mail a .icon{
	text-decoration: none;
  background: linear-gradient(180deg, var(--color-primary) 0%, #5bc378 100%);
  color: #fff!important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
header .mail a:hover{
  transform: scale(1.2);
}
header .mail a .text{
  display: none;
}
header .hamburger {
  display: none;
}
@media screen and (max-width: 1023px){
  header{
    height:60px;
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);  
  }
  header .h-logo{
    width: 50%;
    z-index: 1001;
  }
  header .h-logo img{
    height: 60px;
  }
  header .hamburger {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
  }
  header .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    margin: 6px 0;
    transition: 0.3s;
  }
  header .hamburger.active span {
    background: var(--color-text);
  }
  header .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  header .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  header .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  header .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transition: 0.5s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 100px 25px 60px;
    flex-direction: column;
    min-width: 70%;
  }
  header .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  header .nav-menu.active {
    right: 0;  
  }
  header .nav-menu li{
    margin-top: 1rem;
  }
  header .nav-menu li a{
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-primary);
    display: block;
    padding-bottom: 1rem;
  }
  header .mail a{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  header .mail a .text{
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
  }
}


/* FOOTER */
footer {
  padding: 2rem 0;
  text-align: center;
  background: var(--bg-highlight);
}
footer .privacy-policy{
  margin-bottom: 2rem;
  text-align: center;
}
footer .privacy-policy a{
  color: var(--color-primary);
  font-size: 0.8rem;
}
footer .copyright{
  font-size: 0.8rem;
  font-family: var(--font-family-mincho);
  letter-spacing: 0.05em;
}

/* CONTACT */
.contact{
  padding: 80px 0;
  background-color: var(--bg-highlight);
}

.contact .container{
  background: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 4rem;
}
.contact h2{
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--color-primary);
  margin-bottom: 2rem;
}
.contact p{
  margin-bottom: 2rem;
}
.contact .contact__button-wrapper{
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.contact .contact__button-wrapper a.btn01{
  max-width: 430px;
  width: 40%;
  justify-content: center;
  font-size: 1.3rem;
}
.contact .contact__button-wrapper a.btn01 .btn01__tel{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  transition: 0.8s;
}  
.contact .contact__button-wrapper a.btn01 .btn01__tel::after{
  content: '\e0b0';
  font-family: 'Material Icons';
  font-weight: 400;
  font-size: 1.4rem;
  transition: 0.8s;
}
.contact .contact__button-wrapper a.btn01 .btn01__mail{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  transition: 0.8s;
}  
.contact .contact__button-wrapper a.btn01 .btn01__mail::after{
  content: '\e0be';
  font-family: 'Material Icons';
  font-weight: 400;
  font-size: 1.4rem;
  transition: 0.8s;
}

.contact .contact__button-wrapper a.btn01:hover .btn01__tel,
.contact .contact__button-wrapper a.btn01:hover .btn01__mail{
  background: var(--color-primary);
  transform: scale(1.3);
}
@media screen and (max-width: 767px){
  .contact{
    padding: 20px 0;
  }
  .contact .container{
    padding: 2rem;
  }
  .contact .contact__button-wrapper{
    flex-direction: column;
    gap: 1rem;
  }
  .contact .contact__button-wrapper a.btn01{
    width: 100%;
    max-width: none;
    padding: 0 0 0 55px;
  }
}

/* PAGE */
.page-title{
  padding: 80px 0;
  background-color: var(--bg-highlight);
}
.breadcrumb{
  padding: 2rem 0;
  margin-bottom: 3rem;
  font-size: 0.8rem;
}
.breadcrumb .aioseo-breadcrumb-separator{
  margin: 0 10px;
}
.breadcrumb .aioseo-breadcrumb:not(:has(a)){
  color: var(--color-primary);
}
.page h2{
  text-align: center;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px){
  .page-title{
    padding: 40px 0;
  }
  .page-title h1{
    font-size: 1.4rem;
  }
  .breadcrumb{
    padding: 1rem 0;
    font-size: 0.6rem;
    margin-bottom: 2rem;
  }
}

/* COLUMN */
.column .column-list{
	list-style: none;
	margin:0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	gap: 2rem;
	flex-wrap: wrap;
}
.column .column-list li{
	width: calc((100% - 2rem) / 2);
}
.column .column-list li .column-list__inner__img{
	width: 100%;
	height: 330px;
	overflow: hidden;
	border-radius: 20px;
}
.column .column-list li .column-list__inner__img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;
}
.column .column-list li .column-list__inner__text{
	padding: 1rem 0 0 1rem;
	margin: -50px 0 0 auto;
	width: 80%;
	border-radius: 20px 0 0 0;
	background-color: #fff;
	position:relative;
}
.column .column-list li .column-list__inner__text h3{
	margin-bottom: 1rem;
	border-bottom: 3px solid var(--color-primary);
	padding-bottom: 0.5rem;
	transition: 0.5s;
}
.column .column-list li .column-list__inner__text p{
	line-height: 1.6;
}
.column .column-list li .column-list__inner__img a:hover img{
	transform: scale(1.05);
}
.column .column-list li .column-list__inner__text a:hover h3{
	color: var(--color-primary);
}
@media screen and (max-width: 767px){
	.column .column-list{
		flex-direction: column;
		gap: 1rem;
	}
	.column .column-list li{
		width: 100%;
	}
	.column .column-list li .column-list__inner__text{
		width: 90%;
	}
  .column .column-list li .column-list__inner__img{
    height: 250px;
  }
}

/* PAGINATION */
.pagination .page-numbers{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}
.pagination .page-numbers li {
  list-style: none;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: 0.3s;
}
.pagination .page-numbers a:hover {
  background: var(--bg-highlight);
}
.pagination .page-numbers .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.pagination .dots {
  padding: 0.5rem;
  border: none;
}

@media screen and (max-width: 767px) {
  .pagination {
    gap: 0.5rem;
  }
  .pagination a,
  .pagination span {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
}