/*!
Theme Name:　サウスラック_レスポンシブ
Theme URI: 
Description: southluck
Author: southluck
Author URI: 
Version: 1.0
*/
@charset "utf-8";

/****************************************
		1. 基本設定 
*****************************************/

/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
　↓YUI3 CSS Reset　ブラウザー固有のスタイルをリセットします↓　*/
body,div,dl,dt,dd,
ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,code,form,fieldset,legend,
input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}

/*---↓リンクに対する共通設定↓---*/
*{
	margin:0;
	padding:0;
	line-height:1.5;
	list-style:none;
  --main: #3093d8;
  --accent: #ff7f32;
  --main_color: #3093d8;
}
.pc{
  display: none;
}
.sp{
  display: block;
}
body:has(.hamburger-active){
  height: 100vh;
  overflow: hidden;
}

/*アンダーtopボタン*/
.pagetop {
	position: fixed;
	bottom: -200px;
	right: 20px;
	z-index:9999;
}
.pagetop a {
	display: block;
	width: 86px;
	height: 110px;
}

img{
	border:none;
}
a, a:link,/*未訪問のリンクを指定*/
a:visited,/*訪問済みのリンクを指定*/
a:hover,/*マウスオーバーした時のリンク部分を指定*/
a:active,/*クリック時のリンク部分を指定*/
a{
	text-decoration:none;
}
body{	
	overflow-x:hidden;
	
}
.wf-sawarabimincho { font-family: "Sawarabi Mincho"; }
/* clearfix
----------------------------------------------------*/
.clearfix{ /zoom: 1; }
.clearfix:after{ content: ''; display: block; clear: both; }
/* box-sizing
----------------------------------------------------*/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
/*送信ボタン*/
input[type="submit"] {
  -webkit-appearance: none;
}
input[type="reset"] {
  -webkit-appearance: none;
}

.inner_element{
	position: relative;
	z-index: -1;
	height: 0;
	overflow: hidden;
	transition: 0.2s;
	&.active{
		z-index: 1;
	}
}

header .sp{
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 10vh;
  width: 100%;
  border-bottom: 2px solid var(--main);
  position: relative;
  z-index: 999;
}
header .sp .logo{
  display: block;
  height: 60px;
  width: auto;
  margin: 0 0 0 10px;
}
header .sp .logo img{
  height: 100%;
  width: auto ;
}
/*--- ハンバーガーメニュー ---*/
.hamburger {
  position: fixed;
  right: 7px;
  top: 9px;
  display: inline-block;
  vertical-align: middle;
  width: 60px;
  height: 60px;
  background: 0 0;
  border-radius: 85px 0 0;
  margin: 0 auto 5px;
  z-index: 9999
}

.hamburger .hamburger-button {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 120;
  cursor: pointer
}

.hamburger .hamburger-button span {
  position: absolute;
  width: 50%;
  height: .2em;
  right: 6px;
  left: 0;
  top: 9px;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  border-radius: .1em;
  transition: all .5s ease 0s;
  transform: rotate(0deg)
}

.hamburger .hamburger-button span.top {
  transform: translateY(-.5em)
}

.hamburger .hamburger-button span.bottom {
  transform: translateY(.5em)
}

.hamburger-active .hamburger-button span.middle {
  background: 0 0
}

.hamburger-active .hamburger-button span.top {
  transform: rotate(-45deg) translateY(0);
  background: #fff;
}

.hamburger-active .hamburger-button span.bottom {
  transform: rotate(45deg) translateY(0);
  background: #fff;
}

.hamburger .hamburger-menu {
  position: fixed;
  width: 100%;
  left: 100%;
  top: 0;
  bottom: 0;
  min-height: 100dvh;
  z-index: 110;
  overflow-y: auto;
  background-color: transparent;
  transition: all .5s ease 0s
}

.hamburger-active .hamburger-menu {
  left: 0;
  background-color: #3093d8ab;
  display: flex;
  align-items: center;
  justify-content: center
}

.hamburger .hamburger-menu .hamburger-submenu {
  transform: translateY(1em);
  opacity: 0
}

.hamburger-active .hamburger-menu .hamburger-submenu {
  opacity: 1;
  transform: translateY(0)
}

.hamburger-active .hamburger-menu .hamburger-submenu:nth-child(1) {
  transition: all .5s ease .5s
}

.hamburger-active .hamburger-menu .hamburger-submenu:nth-child(2) {
  transition: all .5s ease .8s
}

.hamburger-active .hamburger-menu .hamburger-submenu:nth-child(3) {
  transition: all .5s ease 1.1s
}

.hamburger .hamburger-menu>a {
  display: block;
  text-decoration: none;
  color: #535353;
  height: 35px;
  letter-spacing: 1px
}

.nav_item_first a {
  height: 40px !important;
  line-height: 40px !important
}

.nav_item_laxt a {
  height: 45px !important;
  line-height: 45px !important
}

.hamburger-active .hamburger-button span {
  background: #fff;
}

.hamburger-submenu {
  position: relative;
  background: #f3f3f3;
  margin: 0 auto
}

.hamburger_span {
  position: fixed;
  right: 10px;
  top: 13px;
  display: inline-block;
  vertical-align: middle;
  z-index: 120;
  width: 60px;
  height: 60px;
  background: var(--main);
  outline: 2px solid #fff;
  margin: 0 auto 5px
}

.hamburger_container {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  position: relative;
}

.hamburger_menulist{
  width: 70%;
}
.hamburger_menulist li.hamburger-menu_text{
  font-size: 120%;
  margin: 0 0 15px;
  text-align: center;
  font-family: "Sawarabi Mincho"
}

.hamburger_menulist li a {
  color: #535353
}

.hamburger_container table.schedule {
  width: 90%;
  margin: 30px auto 0
}

.hamburger_container table.schedule tr:first-child {
  border-bottom: 1px solid var(--main)
}

.hamburger_container table.schedule tr:nth-child(2) {
  border-bottom: 1px dashed var(--main)
}

.hamburger_container table.schedule tr td {
  text-align: center;
  padding: 0 0 2px
}

.hamburger_container table.schedule tr td:not(:first-child) {
  width: fit-content;
  padding: 0 5px
}

.hamburger_container table.schedule tr td:first-child {
  width: 75px
}
.hamburger_container img{
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40%;
  height: auto;
}

.hamburger_container .label{
  color: var(--item);
  transition: 0.3s;
}
.hamburger_container .label.active{
  background: var(--item);
  margin-bottom: 0;
  padding: 10px 0;
  color: #fff !important;
  border-radius: 5px 5px 0 0;
}
.hamburger_container .inner_element{
  transition: 0.2s;
  border-radius: 5px;
}
.hamburger_container .inner_element.active{
  background: var(--item_thin);
  margin-bottom: 20px;
}
.hamburger_container .inner_element a{
  display: block;
  text-align: center;
  width: 90%;
  padding-bottom: 5px;
  margin: 0 auto;
}
.hamburger_container .inner_element a:not(:last-child){
  border-bottom: 1px dashed var(--item);
  margin-bottom: 10px;
}
.hamburger_container .inner_element a:first-child{
  margin-top: 20px;
}
.hamburger_container .inner_element a:last-child{
  margin-bottom: 20px;
}
/*--- ハンバーガーメニュー end ---*/
footer{
  background: var(--main);
  margin: 220px auto 0;
  padding: 30px 0 0;
  position: relative;
  z-index: 0;
}
footer::before{
  content: '';
  background: url(../img/footer_top_bk.png);
  background-repeat: repeat-x;
  background-size: contain;
  background-position: bottom;
  height: 20vh;
  width: 100vw;
  position: absolute;
  top: -20vh;
  left: 0;
}
footer .logo{
  display: block;
  width: 80%;
  height: auto;
  margin: 40px auto;
}
footer .logo img{
  width: 100%;
  height: auto;
}
footer .footer-nav ul{
  width: 95%;
  max-width: 1100px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
footer .footer-nav ul li{
  padding: 5px 10px;
}
footer .footer-nav a{
  color: #fff;
  letter-spacing: 1px;
  transition: 0.3s;
}
footer .footer_ad{
  text-align: center;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 80px;
}
footer .copy{
  background: #1baad1;
  color: #fff;
  font-size: 60%;
  text-align: center;
  padding: 7px 0 5px;
}
.mainviual{
  height: 40vh;
  width: 100%;
  position: relative;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  & h1{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    color: #fff;
    text-shadow: 1px 1px 3px #3b3b3b;
    letter-spacing: 1px;
    line-height: 1.7;
    font-size: 200%;
    text-align: center;
  }
}
#content_01{
  width: 95%;
  margin: 60px auto;
}
#content_01 .blog_box{
  margin-bottom: 30px;
}
#content_01 .blog_box li{
  border-bottom: 1px dashed var(--main);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
#content_01 .blog_box li .date{
  width: fit-content;
  background: var(--main);
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 3px;
}
#content_01 .blog_box li .title{
  color: #535353;
  font-size: 116%;
  letter-spacing: 1px;
  line-height: 1.7;
}
#content_01 .wp-block-archives-list li{
  margin-bottom: 10px;
}
#content_01 .wp-block-archives-list li a{
  display: block;
  width: 50%;
  margin: 0 auto;
  color: #535353;
  text-align: center;
  letter-spacing: 1px;
  font-size: 116%;
}
/* ============ single ============ */
#contents{
  width: 95%;
  margin: 30px auto;
}
/*------------------------------

		画像の位置

------------------------------*/
#moji a{
	display: inline-block;
}
.alignleft{
	float: left;
	padding-right: 20px;
}
.alignright{
	float: right;
	padding-left: 20px;
}
.aligncenter{
	display: flex;
	justify-content: center;
	margin: 0 auto;
}
/*================ page nave =======================*/
.wp-pagenavi{
	display: flex;
	justify-content: center;
}
.wp-pagenavi a,
.wp-pagenavi span{
	border: none !important;
}
.pages{
	background: #e5e6e6;
	border-radius: 5px;
	font-weight: normal !important;
}
.current{
	background: var(--main_color);
	color: #fff;
	border-radius: 5px;
	font-weight: normal !important;
}
.first,
.last{
	color: #535353;
}
.previouspostslink,
.nextpostslink{
	color: #535353;
}
/*================ page nave =======================*/
/*================ prev box =======================*/
#prev_next{
	display: flex;
	justify-content: center;
	align-items: center;
  margin: 40px auto;
}
#prev_next a{
	color: #535353;
	text-align: center;
  transition: 0.3s;
}
#prev_next a:hover{
  color: #fff;
  background: var(--main_color);
}
#prev_next a:hover div{
  color: #fff;
}
#prev,
#next{
	width: 45%;
	height: 100px;
	display: flex;
  flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
}
#prev{
	border-right: 1px solid var(--main_color);
}
#next{
	border-left: 1px solid var(--main_color);
}
#prev_title,
#next_title{
	color: var(--main_color);
  transition: 0.3s;
}
.top_btn a{
	display: block;
	width: fit-content;
	padding: 6px 40px;
	border-radius: 50px;
	border: 2px solid var(--main_color);
	margin: 40px auto 50px;
  font-size: 116%;
  letter-spacing: 1px;
  color: #535353;
  transition: 0.3s;
}
.top_btn:hover a{
  background: var(--main_color);
  color: #fff;
}
/*================ prev box =======================*/
/*================ side bar =======================*/
.sidebar_box{
	width: 80%;
	margin: 0 auto 90px;
}
.sidebar_box .log_title{
	text-align: center;
	background: var(--main_color);
	color: #fff;
	width: 100%;
	padding: 8px 0px;
	border-radius: 50px;
	margin: 0 auto 10px;
	letter-spacing: 1px;
	font-size: 120%;
}
.sidebar_box li{
	border-bottom: 1px solid var(--main_color);
	padding: 0 10px;
	margin: 0 auto 10px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.sidebar_box li::before{
  content: '';
  width: 100%;
  height: 100%;
  background: var(--main_color);
  position: absolute;
  top: 0;
  right: 100%;
  transition: 0.3s;
  z-index: -1;
}
.sidebar_box li:hover:before{
  right: 0%;
}
.sidebar_box li a{
  display: block;
	color: #535353;
  padding: 5px 0;
  transition: 0.3s;
}
.sidebar_box li:hover a{
  color: #fff;
}
.sidebar_box .label{
  color: #3093d8;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 1px;
  border-radius: 10px;
  width: 80%;
  margin: 0 auto;
  border: 2px solid #3093d8;
  transition: 0.3s all;
  cursor: pointer;
}
.sidebar_box .label:hover{
  background: #3093d8;
  color: #fff;
}
/* ====================== blog =============================== */
.single_blog{
	.content{
		width: 100%;
		height: auto;
	}

	.center{
		width: 100%;
		height: auto;
		margin: 0 auto;
		position: relative;
		clear: both;
		padding-bottom: 180px;
	}


	& h1.wp_title{
    font-size: 1.5em;
		text-align: center;
		font-weight: bold;
		letter-spacing: 2px;
		background: linear-gradient(to right, #00c6ff, #0072ff);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
		margin: 40px 0;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	}

	& h2.wp_title_01{
		font-size: 1.4em;
		font-weight: bold;
		letter-spacing: 2px;
		background: linear-gradient(to right, #00c6ff, #0072ff);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		margin: 20px 0 0 0;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	}


	& h3.wp_title_02{
		font-size: 1.3em;
		font-weight: bold;
		letter-spacing: 2px;
		background: linear-gradient(to right, #00c6ff, #0072ff);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		margin: 20px 0 0 0;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	}
	& h4.wp_title_03{
		font-size: 1.2em;
		font-weight: bold;
		letter-spacing: 2px;
		background: linear-gradient(to right, #00c6ff, #0072ff);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		margin: 10px 0 0 0;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	}
	& p.wp_text{
		font-size: 1em;
		letter-spacing: 1px;
		line-height: 1.8;
		text-align: justify;
		color: #333;
	}

	& p.wp_text a{
		margin: 30px 0;
			display: inline-block;
			background: linear-gradient(to right, #0072ff, #00c6ff);
			color: #fff;
			padding: 0.8em 1.6em;
			border-radius: 6px;
			font-size: 1.1em;
			text-decoration: none;
			font-weight: bold;
			box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
			transition: background 0.3s ease, transform 0.2s ease;
	}

	& ul.wp_list{
		list-style: none;
		margin: 5px 0 30px 0;
		padding: 1.2em;
		background-color: #f5faff;
		border: 1px solid #cce5ff;
		border-radius: 8px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
		font-size: 1em;
		line-height: 1.8;
		font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
		color: #333;
	}
	& ul.wp_list li{
		position: relative;
		margin-bottom: 0.6em;
		letter-spacing: 2px;
		color: #535353;
    & a{
      display: block;
      width: fit-content;
      color: #535353;
      position: relative;
      overflow: hidden;
      &::before{
        content: '';
        width: 100%;
        height: 1px;
        background: var(--main_color);
        position: absolute;
        bottom: 0;
        right: 100%;
        transition: 0.3s all;
      }
    }
    &:hover a::before{
      right: 0%;
    }
	}





	.wp_custom-table {
		width: 100%;
		border-collapse: collapse;
		margin: 10px 0;
		font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
		border-radius: 8px;
		overflow: hidden;
	}

	.wp_custom-table thead tr {
		background: linear-gradient(to right, #0072ff, #00c6ff);
		color: #fff;
	}

	.wp_custom-table th,
	.wp_custom-table td {
		padding: 1em;
		text-align: left;
		border-bottom: 1px solid #e0e0e0;
	}

	.wp_custom-table tbody tr:nth-child(even) {
		background-color: #f9f9f9;
	}

	.wp_custom-table tbody tr:nth-child(odd) {
		background-color: #ffffff;
	}

}
@media screen and (min-width: 850px) {
  .pc{
    display: block;
  }
  .sp{
    display: none;
  }
  header{
    width: 100%;
    height: 80px;
    border-top: 3px solid #3093d8;
    border-bottom:1px solid #f1f1f1;
    position: fixed;
    top:0;
    z-index: 500;
    background-color: rgba(255, 255, 255, 100);
  }
  header .sp{
    display: none;
  }
  p.sub_logo{
    width: 263px;
    height: 90px;
    position: absolute;
    top: -235%;
    left: 3%;
  }

  ul.main_nav {
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
    padding-top: 27px;
  }
  ul.main_nav li a{
    letter-spacing: 2px;
    font-size: 85%;
    color: #444;
    margin: 0 40px 0 0;
    }
  ul.main_nav li a {
    position: relative;
    display: inline-block;
    transition: .3s;
  }
  ul.main_nav li a:hover {
    color: #1baad1;
  }
  ul.main_nav li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 0;
    height: 2px;
    background-color: #1baad1;
    transition: .3s;
  }
  ul.main_nav li a:hover::after {
    width: 100%;
  }

  .sub_logo{
    width: 285px;
    height: 30px;
    position: fixed;
    left:0;
    top: 79px;
    z-index: 9998;
    border-right:1px solid #f1f1f1;
    border-bottom:1px solid #f1f1f1;
    border-radius:0 0 5px 0;
    background-color: rgba(255, 255, 255, 100);
  }
  p.logo{
    position: relative;
    left: 9px;
    top: -65px;
    z-index: 9999;
  }

  .sub_nav{
    width: 550px;
    height: 77px;
    position: fixed;
    right:0;
    top: 79px;
    border-left:1px solid #f1f1f1;
    border-bottom:1px solid #f1f1f1;
    z-index: 9999;
    border-radius:0 0 0 5px;
    background-color: rgba(255, 255, 255, 0.98);
  }
  .contact_banner_01{
    width: 160px;
    height: 65px;
    position: absolute;
    top: 3px;
    left: 10px;
  }

  /* ベース：バナー全体を relative にしてドロップダウンを絶対配置できるように */
  .contact_banner_01 {
    position: relative;
    display: inline-block; /* 横に並べたい場合は inline-block */
  }

  /* ドロップダウン非表示 */
  .contact_banner_01 .dropdown_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%; /* バナーの下に出す */
    left: 0;
    min-width: 165px;
    background: #fff;
    letter-spacing: 1px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
  }

  /* 項目 */
  .contact_banner_01 .dropdown_menu li {
    border-bottom: 1px solid #eee;
  }
  .contact_banner_01 .dropdown_menu li:last-child {
    border-bottom: none;
  }

  /* リンクスタイル */
  .contact_banner_01 .dropdown_menu li a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: background 0.2s, color 0.2s;
  }
  .contact_banner_01 .dropdown_menu li a:hover {
    background: #3093d7;
    color: #fff;
  }

  /* ホバー時にドロップダウン表示 */
  .contact_banner_01:hover .dropdown_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .contact_banner_02{
    width: 160px;
    height: 65px;
    position: absolute;
    top: 3px;
    left: 185px;
  }

  .contact_banner_03{
    width: 160px;
    height: 65px;
    position: absolute;
    top: 3px;
    left: 360px;
  }
  footer .logo{
    width: 270px;
    height: 140px;
  }
  footer .footer-nav ul{
    justify-content: center;
  }
  footer .footer-nav li:hover a{
    color: #0a66c2;
  }
  /* =============================== index ======================== */
  .mainviual{
    margin-top: 80px;
  }
  #content_01{
    display: flex;
    width: 95%;
    max-width: 1100px;
    margin: 60px auto;
  }
  #content_01 .content_box{
    width: 75%;
  }
  #content_01 .blog_box li .date{
    font-size: 90%;
    background: unset;
    color: #535353;
    padding: 0;
  }
  /* =============================== side bar ======================== */
  .sidebar_box{
    width: 20%;
  }
  .sidebar_box .cat_list{
    margin-bottom: 30px;
  }
  /* =============================== single ======================== */
  .inner-box{
    display: flex;
    width: 95%;
    max-width: 1100px;
    margin: 60px auto;
    & #contents{
      width: 70%;
      margin: 0;
    }
  }
}