/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* ■■■■■■■■■ 全体設定 ■■■■■■■■■ */

body {
	padding-top: 0px;
	padding-bottom: 0px;
}

/* セクションタイトル上線除去(h2) */
.sec-titleh2 {
  border-style: none;
}

/* メリットテキスト下線 */
.merit-text-wrapper{
  text-align: center;
}

.merit-text {
  display: inline-block; /* テキスト幅にあわせる */
  position: relative;
  text-align: center; /* 念のため中央寄せ */
}

.merit-text::after {
  content: "" !important;
  display: block;
  width: 95%; /* .merit-text の幅＝テキスト幅 */
  height: 1px;
  background-color: #000;
  margin: 20px auto 0; /* 上下に余白、左右autoで中央寄せ */
}

/* Gallery */
.scroll-gallery-wrapper {
  position: relative;
  margin: 30px auto;
  max-width: 70%;
  overflow: hidden;
}

.scroll-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap:5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.gallery-item {
  scroll-snap-align: start;
  width: 230px;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  display: block;
}

/* Galleryボタンを画像の上に重ねる  */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  border: none;
  font-size: 36px;
  font-weight: lighter!important;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

.scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Timeセクションテキストコンテンツ下線  */
.kugiri {
	border-width: 1px;
	width: 100px;
}

/* 創作ボタン  */
.point_sub_ttl p{
	margin-bottom: 0!important;
	padding-bottom: 0!important;
}

.sample_btn {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  outline: none;
  color: #000;
	border-radius: 50px;
	border: 1px solid;
  background-color: #fff;
  -webkit-transition: all .3s;
  transition: all .3s;
	box-shadow: 0 0 8px #9e9ea2;
}
.sample_btn:hover {
  color: #000;
  background-color: #f8f8ff;
	text-decoration: none;
  opacity: 1;
}

/* 以下はレイアウト調整用 */
body{
  vertical-align:middle; 
  text-align: center;
}

/*フッター*/
body>.siteFooter {
	border-style: none;
}
#top > footer > div > p:nth-child(2){
display: none;
}

/* ■■■■■■■■■ スマホ(768px以下) ■■■■■■■■■ */

/* ページ上部余白 */
body {
	padding-top: 0px;
}
body>.siteHeader {
	display: none;
}
body>.siteContent {
	padding-top: 0px;
}

/* Galleryスマホでは1列表示にする  */
@media (max-width: 768px) {
  .scroll-gallery {
    display: flex;
    flex-direction: row;
    gap: 8px;
    grid-template-rows: none;
  }

  .gallery-item {
    width: 80vw;
  }

  .scroll-btn {
    top: auto;
    bottom: 10px;
    font-size: 24px;
    transform: none;
    background-color: rgba(0, 0, 0, 0);
  }
}

