@charset "utf-8";
/* CSS Document */

/*
Theme Name: YEG群馬県連
Theme URI: https://gunma-yeg.com/
Description: オリジナルテーマ
Author: 
Author URI: 
Version: 1.0
*/

/* 使用フォント */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* サイト内共通 */

body {
	font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
	font-size:105%;
	color: #032828;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 100px 100px;
    background-repeat: repeat;
    background-position: center center;
}

p {
	line-height: 1.8em;
	margin-bottom: 1.4em;
	font-size:100%;
}

a {
	color:#8c783c;
	text-decoration:none;
	transition:0.2s ease-in-out;
}

a:hover {
	color:#ceae5f;
	text-decoration:underline;
}

a:visited {
	color:#605a4d;
}

.container {
    position: relative;
    margin: 0 auto;
}
.container:after {
    content: "";
    clear: both;
    display: block;
}

.table {
	border-collapse: collapse;
}

.table th,
.table td {
	border:1px solid #b3b3b3;
}

ol ol {list-style-type: upper-roman;}

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

section {
	padding:80px 0;
}

/* 見出し・テキスト */

.h_type01 {
    font-size: 2rem;
    line-height: 1.4;
    text-align: center;
}

.h_type02 {
    font-size: 1.6rem;
    line-height: 1.4;
}

.h_type02s {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.4;
    padding: 0 0 8px;
    border-bottom: 1px solid #8c783c;
}

.h_type03 {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 0 0 8px;
}

.h_type04 {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.4;
    border-bottom:3px double #c3beb1;
    padding: 0 0 8px;
    margin-bottom: 10px;
}



/* ボタン */

.link_btn01 {
    display: block;
    width:240px;
}

.link_btn01 a,
.link_btn02 a{
    display: block;
    position: relative;
    background-color: #8c783c;
	padding: 10px 20px 12px;
	border-radius: 3px;
	color: #fff;
	text-align: center;
    font-size: 0.95rem;
	text-decoration: none;
}

.link_btn01 a:after,
.link_btn02 a:after {
    position: absolute;
    display: block;
    top: 50%;
    margin-top: -12px;
    right: 5px;
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    color: #FFF;
    font-weight: 900;
    font-size: 0.8rem;
    padding:6px;
}

.link_btn01 a:hover,
.link_btn02 a:hover{
	opacity: 0.8;
}

.link_btn02 a {
	width:240px;
	margin: 0 auto;
}


/* ヘッダー */

header {
    position: absolute;
    width: 100%;
    height: auto;
    top:0;
    left:0;
    padding: 15px;
    z-index: 2;
}

#logo {
    width:480px;
}

/* メインイメージ */

#hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;

  /* 調整用 */
  --bird-angle: 16deg;
  --copy-wait-after-show: 0.6s;
  --copy-move-x: 75%;
}

.hero_container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
}

/* 鳥 */
.birds {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.bird {
  position: absolute;
  left: -18vw;
  top: var(--bird-top);
  width: var(--bird-size);
  aspect-ratio: 220 / 160;
  background-image: url("../images/bird01.png");
  background-repeat: no-repeat;
  background-size: 600% 100%;
  opacity: 0;
  transform: rotate(calc(var(--bird-angle) * -1));
  animation:
    birdFly var(--bird-duration) cubic-bezier(.22,.61,.36,1) var(--bird-delay) forwards,
    birdFlap .55s steps(6) var(--bird-delay) infinite;
}

@keyframes birdFly {
  0% {
    opacity: 0;
    transform: rotate(calc(var(--bird-angle) * -1)) translateX(0);
  }
  12% {
    opacity: var(--bird-opacity);
  }
  82% {
    opacity: var(--bird-opacity);
  }
  100% {
    opacity: 0;
    transform: rotate(calc(var(--bird-angle) * -1)) translateX(150vw);
  }
}

@keyframes birdFlap {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 120% 0;
  }
}

/* スライダー */
.fv-slider {
  position: absolute;
  left: 2%;
  top: 50%;
  z-index: 5;
  width: 65%;
  max-width: 860px;
  height: auto;
  opacity: 0;
  transform: translate(-20px, -50%);
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}

#hero.is-slider-show .fv-slider {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

.masked-slider-svg {
  display: block;
  width: 100%;
  height: auto;
}

.svg-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.svg-slide.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  z-index: 10;
}

.slider-dot {
  width: 5px;
  height: 5px;
  margin: 0 5px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.slider-dot.active {
  background: rgba(0, 0, 0, 0.5);
}

/* コピー */
.copy {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 15;
  width: 35%;
  max-width: 420px;
  height: auto;
  transform: translate(-50%, -50%);
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}

.copy01,
.copy02 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}

.copy01 {
  margin-bottom: 20px;
}

.copy img {
  display: block;
  width: 100%;
  height: auto;
}

#hero.is-copy01-show .copy01,
#hero.is-copy02-show .copy02 {
  opacity: 1;
  transform: translateY(0);
}

#hero.is-copy-move .copy {
  transform: translate(calc(-50% + var(--copy-move-x)), -50%);
}

/* レスポンシブ */
@media screen and (max-width: 480px) {

}

/* スローガン */

#slogan {
    background-color: #e5e5e5;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #ffffff calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #ffffff calc(100% - 1px));
    background-size: 100px 100px;
    background-repeat: repeat;
    background-position: center center;
}

.photo {
    width: 50%;
    max-width: 460px;
    margin: 0 auto 15px;
}

.slogan_img {
    max-width: 600px;
}

.s_name {
    text-align: center;
}

/* 単会マップ */

#map {
    background-color: #a7a68f;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 単会リスト */

#list {
    background-color: #FFF;
}

.yeg_list_item {
    display: flex;
    justify-content: space-between;
    background-color: #003c80;
    color: #FFF;
    padding: 20px 20px 15px;
}

.yeg_list_item ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    list-style: none;
    margin: 0;
}

.yeg_list_item ul li {
    display: block;
    flex-basis: 20px;
    margin: 0 0 0 12px;
}

/* フッター */

footer {
    background-color: #032828;
    color: #FFF;
    padding: 50px 0 30px;
}

.f_logo {
    max-width: 500px;
}

.copyright {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    padding-bottom: 10px
}


/* 汎用スタイル */

.narrow {
	width: 800px;
	margin-left:auto;
    margin-right:auto;
}

.txt_center {
    text-align: center;
}

.b_vec02 {
    position: relative;
    margin-bottom: 80px;
}

.b_vec02:after {
  content:"";
  display: block;
  position: absolute;
  bottom:-35px;
  left:50%;
  transform: translateX(-50%);
  width: calc(22px * 2 / 1.732);
  height: 15px;
  background: #8c783c;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.pc_center {
	text-align: center;
}

a[href^="tel:"] {
	color:#222;
    pointer-events: none;
}

/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - デスクトップ（デフォルトのグリッド）
   1024-768    - タブレット横長
   768-480     - タブレット縦長
   480-less    - スマホ
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) {

.container {
	width:1040px;
	margin: 0 auto;
}
.container_wide {
	width:1200px;
	margin: 0 auto;
}

}
 
@media all and (min-width: 768px) and (max-width: 1024px) {

body {
    padding-top: 0 !important;
}

}
 
@media only screen and (max-width: 768px) {

body {
    padding-top: 0 !important;
}

section {
	padding:40px 0;
}	
	
.narrow {
	width: 100%;
}

/* ヘッダー */

#logo {
    width:70%;
    min-width: 400px;
}


/* メインイメージ */

/*
.fv-slider {
  width: 80%;
  height: auto;
}

.copy {
    position: absolute;
    width:35%;
    height:auto;
    right:0;
    bottom:30px;
}*/

	
/* 汎用クラス */


.pc_center {
	text-align: left;
}

.link_btn01 a {
	width:80%;
}

a[href^="tel:"] {
	color:#344251;
    pointer-events: auto;
}

}
 
@media all and (max-width: 480px) {

/* 見出し */

.h_type01 {
    position: relative;
    font-size: 1.6rem;
}

/* ヘッダー */

#logo {
    width:80%;
    max-width: 400px;
    min-width: auto;
}


/* メインイメージ */

#hero {
    min-height: 100vh;
    --copy-move-x: 0%;
  }

  .hero_container {
    width: 90%;
    min-height: 100vh;
  }

  .fv-slider {
    left: 50%;
    top: 32%;
    width: 100%;
    transform: translate(-50%, -50%);
  }

  #hero.is-slider-show .fv-slider {
    transform: translate(-50%, -50%);
  }

  .copy {
    left: 50%;
    top: 76%;
    width: 70%;
    transform: translate(-50%, -50%);
  }

  .copy01,
  .copy02 {
    transform: translateY(30px);
  }

  #hero.is-copy01-show .copy01,
  #hero.is-copy02-show .copy02 {
    transform: translateY(0);
  }

  /* スマホではコピー全体の右移動を無効化 */
  #hero.is-copy-move .copy {
    transform: translate(-50%, -50%);
  }

.slider-dots {
  position: absolute;
  left: auto;
  right: 0;
  bottom: 24px;
  text-align: center;
  z-index: 10;
}

/*
.fv-slider {
    width: 90vw;
    margin-bottom: 30px;
}



.copy {
    position: relative;
    width:80%;
    height:auto;
    margin: 0 auto;
    bottom:0;
}*/






/* 汎用 */


}