﻿@charset "utf-8";
html {
    overflow-x: hidden;
}
body{
    overflow-x: hidden;
	font-family: "M PLUS Rounded 1c", "M+", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color :#545454;
	 font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    letter-spacing: 0.2em;
    background-color: #f4f4f4;
}
a{
	color: #545454;
	text-decoration: none;
    outline: none;
}
.title-text {
	text-align: center;
	margin:20px 0;
	color:#545454;
}
img {
	vertical-align: top;
}
#intro, #unit, #item, #store, .accesstxt {
	padding: 0 70px;
}
#intro h2, #access h2,#history h2,
#timeline h2, #commander h2 {/*パララックス画像からの余白調整*/
	margin: 50px 0;
}
/*==================駐屯地紹介==================*/
/* intro */
.intro-bg {
    background: url(../images/about/intro-bg.jpeg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
}
#intro{
    margin:0 0 70px 0;
}
.intro-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	align-items: center;
}
.intro-area p{
    margin: 0 0 30px 0;    
}
.intro-area .txt-r{
     text-align: right;
}
.intro-lead{
    font-weight: bold;
    font-size: 1.2rem;
}
.intro-img{
    width:50%;
}
.intro-img img{
    animation: fluidrotate 30s ease 0s infinite;
}
.intro-content{
    width:40%;
}
/* unit */
#unit {
	position: relative;
	margin: 0 0 70px;
    	overflow: hidden;
    	overflow-x: hidden;
}
#unit:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:70px;
	left:-30%;
	width:150%;
	height: 680px;
	background: #DCEC9D;
	transform: rotate(5deg);
}
#unit h2,#item h2 {
	margin: 0 0 10px 0;
}
#unit .title-text,#item .title-text {
	margin: 0 0 70px;
}
#unit section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}
#unit section:nth-of-type(2n){
    flex-direction:row-reverse;
}
#unit .unit-img{
    width:50%;
    height:40vh;
}
#unit .unit-img-detail{
    height:40vh;
}
#unit .unit-box{
    animation-delay:.5s;
}
#unit .unit-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
	text-align: center;
	padding: 0 50px;
}
.unit-txt {
	margin: 10px 0 0;
}
#unit section:nth-of-type(1) .unit-img-detail{
    background:url(../images/about/about-44i.JPG) no-repeat center;
    background-size:cover;
}
#unit section:nth-of-type(2) .unit-img-detail{
    background:url(../images/about/about-11e.jpg) no-repeat center;
    background-size:cover;
}
#unit section:nth-of-type(3) .unit-img-detail{
    background:url(../images/about/about-gsvc.jpeg) no-repeat center;
    background-size:cover;
}
#unit .unit-content h3{
    font-size:1.2rem;
    margin:0 0 10px;
}

.other-unit {
	padding:50px 0;
}
.other-unit h3{
	text-align: center;
	font-size: 1.7rem;
}
.other-unit dl {
	margin: 10px auto;
    width: fit-content;
    text-align: left;
}
.other-unit div {
	margin:15px 0;
	line-height: 2rem;
}
.other-unit dt {
	font-size: 1.2rem;
	font-weight: bold;
}
.other-unit dt::before {
	content: "・";
}
.other-unit dd {
	font-family: 'M PLUS Rounded 1c';
	margin-inline-start: 40px;
}

/* item */
#item {
	position: relative;
	margin: 0 0 130px 0;
    	overflow: hidden;
    	overflow-x: hidden;
}
#item:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:0;
	left:-30%;
	width:150%;
	height: 680px;
	background: #27acd9;
	transform: rotate(-5deg);
}
#item h2,#item p {
	color: #fff;
}
.gallery{
	columns: 4;/*段組みの数*/
	padding:0 15px;/*ギャラリー左右に余白をつける*/
	margin:0;
	}
.gallery li {
	margin-bottom: 20px;/*各画像下に余白をつける*/
	list-style:none;
}
/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}
	
/* store */
#store{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
	margin: 0 0 120px 0;
}
_:-ms-lang(x)::-ms-backdrop, #store{/*IE11用ハック*/
    display: block;
}
#store .store-area{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 50px;
}
#store .store-area section{
    width: 30%;
}
#store .store-area .store-img {
    margin: 0 auto 1vh auto;
}
#store h3{
    font-size: 1.5rem;
    font-weight: bold;
}
#store .caption{
    font-weight: bold;
    margin: 0 0 3vh 0;
}   

/* ACCESS */
.access-bg {
    background: url(../images/about/access-bg.jpeg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
}
.accesstxt {
	margin: 30px 0;
}
#access p:first-of-type {
	font-weight: bold;
}
/* Google Mapを囲う要素 */
.map {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 40%;
  }
   
  /* Google Mapのiframe */
  .map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  }

/*==================歴史と沿革==================*/
.history-bg {
    background: url(../images/history/history-bg.jpeg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
}
.timeline-bg {
    background: url(../images/history/timeline-bg.jpeg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
}
#timeline h2 {
	color: #27acd9;
}
/* fancy */
#fancy {
	margin: 0 0 70px;
}
/*——沿革フレーム——*/
.c-list {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: left;
}
.c-list::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 4px;
  height: 100%;
  background-color: #27acd9;
  content: "";
  transform: translateX(-50%);
}
@media screen and (max-width: 750px) {
  .c-list::before {
	  left: 11px;
	  transform: translateX(0);
  }
}
.c-list__item {
  box-sizing: border-box;
  width: 50%;
  list-style-type: none;
}
@media screen and (max-width: 750px) {
  .c-list__item {
	  width: 100%;
  }
  .c-list__item:nth-of-type(n+2) {
	  margin-top: 10px;
  }
}
.c-list__item:nth-of-type(even) {
  margin-left: auto;
}
.c-list__head, .c-list__body {
  padding-top: 0.5em;
}
@media screen and (max-width: 750px) {
  .c-list__head, .c-list__body {
	  padding-left: 36px;
  }
}
@media screen and (min-width: 751px) {
  .c-list__item:nth-of-type(odd) .c-list__head, .c-list__item:nth-of-type(odd) .c-list__body {
	  padding-right: 1.5em;
  }
  .c-list__item:nth-of-type(even) .c-list__head, .c-list__item:nth-of-type(even) .c-list__body {
	  padding-left: 1.5em;
  }
}
.c-list__head {
  position: relative;
  border-bottom: 1px solid #27acd9;
}
.c-list__head::after {
  position: absolute;
  right: -13px;
  bottom: -13px;
  display: block;
  width: 16px;
  height: 16px;
  border: 5px solid #27acd9;
  border-radius: 50%;
  background-color: #fff;
  content: "";
}
@media screen and (max-width: 750px) {
  .c-list__head::after {
	  right: auto;
	  left: 0;
  }
}
@media screen and (min-width: 751px) {
  .c-list__item:nth-of-type(even) .c-list__head::after {
	  right: auto;
	  left: -13px;
  }
}
.c-list__body > *:first-child {
  margin-top: 0 !important;
}
.c-list__ttl {
  color: #27acd9;
  font-weight: bold;
  font-size: 24px;
}
@media screen and (min-width: 751px) {
  .c-list__item:nth-of-type(even) .c-list__ttl {
	  text-align: right;
  }
}
.c-list__txt {
  margin-top: 1em;
}
/*——沿革フレームここまで——*/
.timeline-item {
  font-family:"M PLUS Rounded 1c";
  font-size:18px;
  color: #545454;
  border-spacing : 10px 4px;
	  border-collapse : separate ;
}
.timeline-item th {
  width:52px;
  text-align:right;
  align-content: baseline;
}
.timeline-item td {
  display:block;
}

/*============駐屯地司令紹介=============*/
/* commander */
.commander-bg {
    background: url(../images/event/hanami-header.JPG) no-repeat bottom;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
}
#commander h3 {
	text-align: center;
	margin-bottom: 30px;
}
#rco {
  display:flex;
  justify-content: center;
  margin: 50px 10px;
  padding:50px 30px;
  background-color:#f4f4f4;
  border-radius:15px;
  gap:0 30px;
}
.rco-picture img {
	max-width:400px;
	min-width: 300px;
  	width: 80%;
  	border-radius:15px;
}
.rco-profile>h3, .rco-profile>p {
  font-family: serif;
  color: #545454;
  text-align:left;
  font-weight: bold;
  margin: 0 0 20px;
}
.rco-profile>h3 {
  font-size:1.3rem;
  font-weight:bold;
}
.rank {
  font-size: 1.2rem;
}
.rco-name {
  font-size: 2rem;
}
.profile, .careea-list {
  font-size:18px;
  font-family: serif;
  color: #545454;
}
/* profile */
.profile tr {
	border-bottom: 1px solid #b5b1b1;
  }
.profile th,
.profile td {
	padding:0;
	border: none;
  }
.profile th {
	width: 30%;
	text-align: left;
	align-content: baseline;
  }
.h3_subtitle {
    	text-align: center;
    	margin: 0 0 30px 0;
    	font-size: 2rem;
    	line-height: 1.5;
	letter-spacing: 2rem;
}
/* careea-list */
.careea-list th,
.careea-list td {
	padding:0;
	border: none;
  }
.careea-list th {
	width: 30%;
	text-align: left;
	align-content: baseline;
  }
.careea-list {
	margin: 0 auto 50px;
}
.careea-list th {
	width: 15%;
}
.careea-a {
	width: 10%;
}
.careea-b {
	width: 60%;
}
.careea-c {
	width: 15%;

}

/*==================各種お申し込み==================*/
#apply h2 {
	color: #27acd7;
}
.page-link {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	-moz-column-gap: min(40px, calc(40rem / 16));
	column-gap: min(40px, calc(40rem / 16));
	justify-content: center;
	margin: 50px 0 80px;
}
/* ボタン共通設定 */
.btn06{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
    padding: 10px 40px 10px 30px;
	border-radius:25px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
}
.btn06:hover{
	color:#858585;
}
/* 矢印が右に移動 */
.btnarrow1::after{
    /*アイコン*/
	font: var(--fa-font-solid);/*アイコン種類1*/
	content: "\f144";/*アイコン種類2*/
	position: absolute;
	top:17px;
	left : 0.2em;
	color: #27acd9;
    transition: all .3s;/*アニメーションの指定*/
}
.btnarrow1:hover::after{/*hoverした際の移動*/
    left: 0.5em;
}
.contents-wrapper {
	max-width:70%;
	margin:0 auto;
}
.apply-con>h3 {
	text-align: center;
	font-size: 1.7rem;
	letter-spacing: .3em;
	margin: 20px auto;
	padding: 1rem 2rem;
	color: #27acd7;
  	border-top: 6px double #27acd7;
  	border-bottom: 6px double #27acd7;
}
.apply-con>p {
	text-align:left;
	font-weight:bold;
	margin:10px 0;
}
.apply-image {
	width: 70%;
	margin: 0 auto;
}
.slider-apply {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:94%;
    margin:0 auto;
}
.slider-apply img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}
.apply-con dl {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #b5b1b1;
    padding: 30px 0;
}
.apply-con dl:last-of-type {
	border: none;
}
.apply-con dt {
	width: 30%;
	font-weight: bold;
}
.apply-con dd {
	width: 70%;
}
.apply-con dt, .info-con dd {
	padding: 24px 0;
}
.apply-list {
	list-style:disc;
	padding-left:20px;
}
.apply-box {
	margin: 20px 0 50px;
	padding: 20px 10px;
	background-color: #ff9d87;
}
.apply-box h4 {
	text-align: center;
	font-weight: inherit;
}
.apply-box:last-of-type {
	background-color: #f4f4f4;
}
.spbr2 {
	display: none;
}
.apply-box p {
	text-align: center;
}
.apply-box ul {
	display: flex;
    column-gap: 20px;
    row-gap: 30px;
    justify-content: center;
    margin: 40px 0;
}
.apply-box li{
	border-radius:15px;
	background-color:#fff;
	padding: 15px 20px;
}
.apply-button {
	padding: 15px 40px 15px 20px;
	margin:20px auto 0;
	position: relative;
    transition: ease .2s;
}
.apply-button-a {
	padding: 15px 15px 20px;
}
.applybutton:hover{
	color:#858585;
}
#taiken .apply-box ul {
	flex-wrap:wrap;
}
/* アイコン移動 */
.circle::after{
    /*アイコン*/
	font: var(--fa-font-solid);/*アイコン種類1*/
	content: "\f144";/*アイコン種類2*/
	position: absolute;
	top:16.5px;
	right : 17px;
    transition: all .3s;/*アニメーションの指定*/
}
.arrow::after{
    /*アイコン*/
	font: var(--fa-font-solid);/*アイコン種類1*/
	content: "\f56d";/*アイコン種類2*/
	position: absolute;
	top:16.5px;
	right : 17px;
    transition: all .3s;/*アニメーションの指定*/
}
.arrow:hover::after{/*hoverした際の移動*/
    top: 18.5px;
}
#qa li {
  position: relative;
  padding: 0.5em 0.5em 0.5em 45px;
  line-height: 1.5em;
  list-style:none;
}
#qa li:nth-of-type(odd)::before{
	content:"Q";
	background: #5c9ee7;
}
#qa li:nth-of-type(even)::before{
	content:"A";
	background: #ff9d87;
}
#qa li:before{
  /*Q.Aデザイン変える*/
  position:absolute;
  display:inline-block;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;/*円にする*/
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}
/* archive-topics */
/* archive-saiha */
.archive {
	position: relative;
    padding: 50px 0;
    margin: 50px 0;
}
.archive:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:150px;
	left:-30%;
	width:150%;
	height: 700px;
	background: #27acd9;
	transform: rotate(-5deg);
}
.archive .topics-area{
    background:#fff;
    padding: 40px;
    width:70%;
    margin: 0 auto;
    border-radius:10px;
}
.archive li a{
    transition: all 0.3s;
}
.archive li a:hover{
     color: #666;    
}
.archive article{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #27acd9;
}
.archive article h3{
    font-size: 1rem;
}
.btn04 {
		position: relative;
		display: inline-block;
		padding: 10px 30px;
		color: #333;
		border: 1px solid #27acd9;
		text-decoration: none;
		outline: none;
		overflow: hidden;
		border-radius: 25px;
		font-weight: bold;
}
/*————————————————— タブレット ———————————————— */
@media screen and (max-width: 1024px) {
	#intro, #unit, #item, #store, .accesstxt {
		padding: 0 10px 0;
	}
	#intro{
		margin:0 0 100px 0;
	}  
	#item:after{
		height: 570px;
	}
	.other-unit dt {
		font-size: 1.1rem;
	}
	.other-unit dt,.other-unit dd {
		line-height: initial;
	}
	.contents-wrapper {
		max-width:90%;
		margin:0 auto;
	}
	.archive .topics-area{
        width:90%;
    }
    .archive article time,
    .archive article h3{
        width:100%;
    }    
    .archive {
        padding: 50px 0 25px;
        margin: 0 0 25px;
    }
	#apply h2 {
		padding-top: 50px;
	}
}
@media only screen and (max-width: 900px) {
	.gallery{
	columns:3;
	}	
	#item:after{
		height: 800px;
	}
	.apply-box ul {
		flex-wrap: wrap;
	}
}
@media screen and (max-width:768px) {
	.intro-area{
		display: block;
		}
	.intro-img{
		width: 60%;
		margin:0 auto;
		}
	.intro-content{
		width:100%;
		padding: 0 30px 0 70px;
	}
	#unit .unit-bg{
		background-attachment: inherit;
	}
	.gallery{
		columns: 2;
	}
	#item:after{
		height: 1200px;
	}
	#store{
		padding:0 0 18vh 0; 
	}
	#store .store-area{
		justify-content: space-around;
	}
	#store .store-area section{
		width: 45%;
		margin: 0 0 5vh 0;
	}
	#store h2{
		padding:15vh 0 0 0;
	}
	#store h3{
		font-size: 1.5rem;
	}
}
/*———————————————— SP ——————―――――――――――― */
@media screen and (max-width: 640px) {
	.intro-content{
		padding:0;
	} 
	.intro-img{
		width:100%;
	}
	#unit .unit-img,
	#unit .unit-content{
		width:100%;
		margin: 0 0 50px 0; 
	}
	#item:after{
		height: 1000px;
	}
	#unit:after{
		top:0;
		height: 1500px;
	}
	#store .store-area{
	   display: block;
   	}
   	#store .store-area section{
	   width: 100%;
   	}    
   	#rco {
		flex-wrap: wrap;
		margin: 0;
		padding: 0 10px 50px;  
   	}
   	.rco-picture {
		text-align: center;
		padding: 0 0 30px;
	}
	.rco-profile>h3 {
	font-size:1.2rem;
  	}
  	.rco-name {
		font-size: 1.7rem;
  	}
  	.profile {
		font-size:15px;
  	}
	#fancy .intro-content {
	  	padding: 20px 10px;
	}
	.c-list__body {
        padding-left: 10px;
    }
	.timeline-item {
		font-size: 15px;
	}
	.timeline-item td {
		line-height: initial;
	}
	.page-link {
		margin: 50px 0 0;
	}
	.apply-con dl {
	flex-wrap: wrap;
	}
  .apply-con dt,
  .apply-con dd {
    width: 100%;
    display: block;
  }
  .apply-con dt {
    width: 100%;
  }
  .apply-con dd {
    padding-top: 0;
  }
    .archive {
        font-size: 0.9rem;
        width: 100%;
        margin: 0 auto;
    }
	.careea-list {
		font-size: 1rem;
    		margin: 0 10px 50px 10px;
	}
	.careea-list tr {
  		display: flex;
		flex-wrap: wrap;
	}
	.careea-list th {
		width: 100%;
	}
	.careea-a {
		width:15%;
	}
	.careea-b {
		width:85%;
	}
	.careea-c {
		width:100%;
		text-align: right;
	}



}
@media screen and (max-width: 538px) {
	#item:after{
		height: 780px;
	}
}
@media only screen and (max-width: 480px) {
	.intro-bg, .access-bg, .history-bg,
.timeline-bg, .commander-bg {
	background-attachment: inherit;
	height: 200px;
	}
	.profile th,
	.profile td {
	  width: 100%;
	  display: block;
	}
	.profile th {
	  width: 100%;
	}
	.profile td {
	  padding: 0 0 10px;
	}
	  .fontmin {
  	font-size:0.8rem;
	padding: 15px 30px 15px 5px;
  	}
	#careea .profile td {
	  display: flex;
  }
@media screen and (max-width: 375px) {
	#unit .unit-content {
		padding: 0 10px;
	}
	#item:after{
		height: 700px;
	}
	.rco-picture img {
		min-width: 200px;
		width: 70%;
	}
	.rco-profile {
		padding: 0 10px;
	}
	.rco-profile>h3 {
		font-size:1rem;
	}
	.rco-name {
		font-size: 1.5rem;
	}
	.spbr2 {
		display: block;
	}
	.arrow::after{
		display: none;
	}
	.fontmin {
		padding: 15px 5px;
	}
}
}