@charset "UTF-8";

/*
=====================================================================
ご近所月報 共通 css
=====================================================================
*/

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column; 
}

#contents {
  flex: 1;
}


a:hover img{
  filter: alpha(opacity=30);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
  -moz-opacity: 0.3;
  opacity: 0.3;
}

a.txtLink{
  text-decoration: underline;
}

p.btnLink{
  font-size: 2.0rem;
}

p.btnLink a{
  display: block;
  border: 1px solid #222;
  padding: 12px 0;
}

p.btnLink a:hover{
  opacity: 0.5;
}

p.btnLink a span{
  background-image: url("../img/union/icon_arrow.png");
  background-repeat: no-repeat;
  background-position: right 9px;
  background-size: 15px 15px;
  padding-right: 20px;
}

p.alignC{
  text-align: center;
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}

/* ハンバーガー（70×22の枠） */
.hamburger {
  position: relative;
  width: 70px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

/* 共通ライン */
.hamburger span {
  position: absolute;
  width: 70px;       /* 枠いっぱい横幅 */
  height: 1px;       /* 線の太さ */
  background: #222;  /* 黒い線 */
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

/* 3本線の位置 */
.hamburger span:nth-child(1) {
  top: 0; /* 上 */
}
.hamburger span:nth-child(2) {
  top: 50%; /* 中央 */
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0; /* 下 */
}

/* 「×」に変形 */
.hamburger.open span:nth-child(1) {
  top: 50%;
  transform: rotate(27deg); /* ← 対角線っぽく */
}
.hamburger.open span:nth-child(2) {
  opacity: 0; /* 真ん中消す */
}
.hamburger.open span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: rotate(-27deg);
}


/* フルスクリーンオーバーレイ */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem; /* ロゴ・リスト・SNS間の余白 */
  text-align: center;
}

.overlay-logo {
  width:50%;
  margin-bottom:30px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom:40px;
}

.nav-links li a {
  font-size: 2rem;
  color: #222;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ccc;
}

.sns-icons {
  display: flex;
  gap: 2.5rem; /* アイコン間のスペース */
}

.sns-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s;
}



/* ============================================================================================== */
@media screen and  (min-width:769px) {

/********************************************************
 * Base
 *******************************************************/
body{
  min-width: 1100px;
}

.pc{
  display: block;
}

.sp{
  display: none;
}

/* flex */
.column{
  display: flex;
  justify-content: space-between;
}

/* subsc Btn */
p.subsc{
  font-size: 1.6rem;
}

p.subsc a{
  display: inline-block;
  background: #ffec00;
  padding: 5px 16px;
  color: #000 !important;
  border-radius: 100px;
}

p.subsc a:hover{
  background: #000;
  color: #ffec00 !important;
}

/********************************************************
 * header
 *******************************************************/
#header{
 width: 92.5%;
 margin: 0 auto;
 padding: 50px 0 30px;
 position: relative;
}

#header h1{
  width: 220px;
  margin: 0 auto;
}

#headerInner{
  position: fixed;
  top: 50px;
  right: 3.75%;
  z-index: 9999;
}

/********************************************************
 * contents
 *******************************************************/
#contents{
  background-image: url("../img/union/bg_left.png"), url("../img/union/bg_right.png");
  background-repeat: repeat-y, repeat-y;
  background-position: left 0px, right 0px; /* 左右に配置 */
  background-size: 280px auto, 286px auto; /* 同じ高さに */
  padding: 180px 0 200px;
  margin-top: -30px;
}

/********************************************************
 * footer
 *******************************************************/
#footer{
  background: #ea4e14;
  padding: 20px 0;
  text-align: center;
}

#footer p{
  font-size: 1.4rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #fff;
}


}

/* ============================================================================================== */
@media screen and  (max-width:768px) {


p.btnLink{
  font-size: 1.5rem;
}

p.btnLink a{
  display: block;
  border: 1px solid #222;
  background: #fff;
  padding: 6px 10px;
}

p.btnLink a:hover{
  opacity: 0.5;
}

p.btnLink a span{
  background-image: url("../img/union/icon_arrow.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 15px 15px;
  padding-right: 20px;
}

#teacherArea .swiper-button-prev,
#teacherArea .swiper-rtl .swiper-button-next {
  left: 22.2%;
  right: auto;
}

#teacherArea .swiper-button-next,
#teacherArea .swiper-rtl .swiper-button-prev {
  right: 22.2%;
  left: auto;
}

#teacherArea .swiper-button-prev,
#teacherArea .swiper-button-next {
  height: 36px;
  width: 36px;
}


/********************************************************
 * header
 *******************************************************/
#header{
 width: 90%;
 margin: 0 auto;
 padding: 50px 0 30px;
}

#header h1{
  width: 40%;
  margin: 0 auto;
}

#headerInner{
  position: fixed;
  top: 30px;
  right: 5%;
  z-index: 9999;
}

/********************************************************
 * contents
 *******************************************************/
#contents{
  background-image: url("../img/union/bg_left.png"), url("../img/union/bg_right.png");
  background-repeat: repeat-y, repeat-y;
  background-position: left 0px, right 0px; /* 左右に配置 */
  background-size: 20% auto, 20% auto; /* 同じ高さに */
  padding-top: 80px;
  margin-top: -30px;
}

/********************************************************
 * footer
 *******************************************************/
#footer{
  background: #ea4e14;
  padding: 20px 0;
  text-align: center;
}

#footer p{
  font-size: 1.2rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #fff;
}

}



















