@charset "euc-jp";

*{
	font-family:"Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
	box-sizing:border-box;
	line-height: 1.5em;
}
html{scroll-behavior: smooth;}
body{
    margin: 0 auto;
    font-size: 0;
    line-height: 0;
    vertical-align: top;
background-color: #fafafa;

        };

div{font-size:0;line-height: 0; vertical-align: top;}
h1 {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: -0.2rem;
	padding: 1rem 2rem;
	color: #fff;

	background-image: linear-gradient(to right, #fac276 0%, #f29a21 100%);
}
@media only screen and (max-width: 750px) {
h1 {font-size: 1.4rem;margin-top: -0.0rem; }
}

h2{ 
    width: auto;
    padding: 1rem 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.8rem;
}
h2::before{
    content: "";
    display: block;
    background:rgb(75, 77, 106);
	transform: skewX(-5deg);
    position: absolute;
    left: -12%;
    right: -12%;
    top: 0;
    bottom: 0;
    margin: 0;
    z-index: -1;
}



/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; width: 100%;}
.sp { display: none !important;  width: 100%;}
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important;  width: 100%;}
    .sp { display: block !important;  width: 100%;}
}


h4 { 
    width: auto;
    padding: 1rem 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: black;
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: bold; /* 太字に設定 */
}

h4::before {
    content: "";
    display: block;
    position: absolute;
    left: -12%;
    right: -12%;
    top: 0;
    bottom: 0;
    margin: 0;
    z-index: -1;
}


.content{width:100%;max-width: 1000px; font-size:0;line-height: 0;}
/* .t2_back div,.t3_back div{margin: 3rem 0;}  */
.item img{width: 95%;} 
.item img:hover{opacity: 0.8;border:2px solid #55b1e4} 
.t-title{padding: 3rem 0 2rem 0}
.t-title img{width: 95%}
.photo{padding-bottom: 3rem }
.photo img{width: 90%;}
.top{padding: 3rem 0}
.top img{ width:45%}
.t-img{width: 90%;padding-top: 2rem}


.footer{
    background-image:url(../image/youtube-fotter.png);
    padding: 3rem 0 5rem 0;
    background-position: center;
    background-repeat: no-repeat;
}
.footer img{margin-top: 6rem}
.footer a{
    color: #fff;
    line-height: 3rem;
    text-decoration: none
}

.footer a:hover{
    color: darkorange;
    opacity: 0.9;
}
.button-area {
  display: flex;
  justify-content: center; /* 中央に配置 */
  flex-wrap: wrap;
  margin: 1rem auto 3rem;
  padding: 0.5rem;
  vertical-align: top;
}

.button-area {
  display: flex;
  justify-content: space-between; /* ボタンの間隔を等しく配置 */
  flex-wrap: wrap;
  margin: 1rem auto 3rem;
  padding: 0.5rem;
}


.button-area div {
  width: 30%; /* デスクトップ時に3つのボタンが横並び */
  margin: 0 1%; /* 余白を調整して中央寄せ */
}

@media screen and (max-width: 768px) {
  .button-area {
    justify-content: center;
    margin: 1rem 0;
    padding: 1rem;
  }

  .button-area div {
    width: 48%; /* モバイル時は幅を広げて、2つのボタンが横並びになるように調整 */
    margin: 1%; /* ボタンの間に適切な余白を追加 */
  }
}

.button {
    position: relative;
    display: inline-block;
    padding: 8% 20%;
    color: rgb(32, 39, 66);
    border: 1px solid #202742;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    font-size: 2rem;
    font-weight: 600;
}

@media screen and (max-width: 768px){
    .button {padding: 3% 20%;}
}

.button:hover {
  color: #ccc;
  border-color: transparent;
  transition-delay: .3s;
}

.button span{
  display: block;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 600;
}

@media screen and (max-width: 768px){
    .button span{font-size: 1.2rem;}
}

.borderleft span::before,
.borderleft span::after {
    content: '';
    position: absolute;
    width:0;
    height:1px;
    background: rgb(32, 39, 66);
    transition-delay: .1s;
}
.borderleft span::before { left:0; top:0; }
.borderleft span::after { left:0; bottom:0; }

.borderleft:hover span::before,
.borderleft:hover span::after {
    width: 100%;
}

.borderleft::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  height: 100%;
  width: 0;
  background: rgb(32, 39, 66);
  transition: all .1s;
}

.borderleft:hover::before {
  width: 100%;
  transition-delay: .2s;
}


.video-area {
    padding: 1rem 1rem 0 1rem;
    background-color: #fff;
}
.marker{background:linear-gradient(transparent 60%, #f1ef92 60%);font-weight: bold; font-size: 1.3rem;}

.gotop{
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
	background-image: linear-gradient(to right, #ff7e00 0%, #ff3200 100%);
    background-color: #fff;
    border: 1px solid #fff;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #fff;
    opacity: 0.5;
    position: relative;
	transform: skew(-15deg);
    transition: all 0.5s ease;
}
.gotop::before{
    content: "";
    display: block;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 25%;
    height: 25%;
    top: 28%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
.gotop:hover{
    opacity: 1;
    transform: scale(1.2, 1.2);
}
.gotop{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

/*20220729*/
.related {
    margin-bottom: 20px;
}
ol, ul {
    list-style: none;
}
.related li {
    float: left;
    width: 33%;
    padding: 10px;
    box-sizing: border-box;
}
.related li .related_img {
    margin-bottom: 10px;
}
.related li .related_img img {
    width: 100%;
    max-height: 130px;
}
@media screen and (max-width: 414px){
    .related li {
        padding: 2px;
        width: 50%;
    }
}
@media screen and (max-width: 768px){
    .related li {
        padding: 0 5px 10px;
        width: 50%;
    }
}

/*20220801*/
* {
	list-style: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
/* ここからカードレイアウトのスタイリング */
/* PC　2カラム */
.media_container {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 25px 10px 25px;
    margin-top: -50px;
    margin-bottom: 3rem;
    backdrop-filter: brightness(0.9);
}
.media_itemWrapper {
    width: calc(100% / 2 - 60px);
    margin: calc(60px / 2);
    background-color: #fff;
    border-radius: 5px;
    box-shadow:2px 2px 4px 0px rgba(0, 0, 0, 0.3);
}
.media_item {
	font-size: 1.5vw;
    padding-bottom: 1rem;
}
.media_item a,.media_item h2,.media_item h3,.media_item p{text-decoration: none;}
.media_item a{color: #a90c0c;}
.media_item p{margin-top: 1rem;padding: 0 1rem;}

.media_itemWrapper a img:hover{color:#353865; border: solid 2px; opacity: 0.9;}
.media_item a:hover{color:#f8821d; text-decoration: underline;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
    
/* タブレット　2カラム */
@media screen and (max-width: 1024px) {
	.media_itemWrapper {width: calc(100% / 2 - 30px);margin: calc(30px / 2);}
}
/* スマホ 1カラム*/
@media screen and (max-width: 599px) {
    .media_container{padding: 35px 0px 5px 0px;margin-bottom: 1.5rem;margin-top: -35px;}
	.media_itemWrapper {width: calc(100% / 1 - 30px);margin: calc(30px / 2);}
}

/* ここからt1のスタイリング */
.topContents-pc {
　width: 100%;
  max-width: 2000px;
  margin: 0 auto;
}

.box1 {
  position: relative; /* 中央寄せしたい要素の親タグにrelativeをつける */
  overflow: hidden;  /* はみ出した部分は表示しないようにする */
  height: 400px; /* 高さは固定値を入れる */
}

.box1 img {
  position: absolute;
  top:150px; /* トップを基準に中央配置 */
  left: 50%; /* 左を基準に中央配置 */
  width: 2000px;
  height:400px;

  /* ※1 */
  margin-top: -150px;
  margin-left: -1000px;
}

.white{
    background-color: white;
}

.top-p{
  margin-top: 10px;
    width: auto;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2.5rem;
    color: aliceblue;

}
.top-p::before{
    content: "";
    display: block;
	transform: skew(-15deg);
	background-image: linear-gradient(to right, #f76b60 0%, #fcc150 100%);
    background-color: #fff;
    position: absolute;
    left: -10%;
    right: -10%;
    top: 0;
    bottom: 0;
    margin: 0;
    z-index: -1;
    box-shadow:3px 3px 4px 5px rgba(0, 0, 0, 0.3);
}
/* スマホ用*/
@media screen and (max-width: 599px) {
    .top-p{
        padding: 1.5rem 1rem;
        font-size: 2rem;
        line-height: 2rem;
    }
}



.bk {
    color: #151515;
    font-weight: bold; /* 太字に設定 */
    line-height: 1.5; /* 行間を狭く設定 */
}

@media screen and (max-width: 768px) {
    .bk {
        font-size: 0.6rem; /* モバイル時に文字サイズを小さく設定（例: 60%） */
        line-height: 1.4; /* モバイル時の行間をさらに狭く設定 */
    }
}

.red {
    color: red;
    font-weight: bold; /* 太字に設定 */
    font-size: 1.5rem; 
}
@media screen and (max-width: 768px) {
    .red {
        font-size: 1.0rem; /* モバイル時に文字サイズを小さく設定（例: 60%） */
        line-height: 1.4; /* モバイル時の行間をさらに狭く設定 */
    }
}



.content{width:100%;max-width: 1000px; font-size:0;line-height: 0;}
/* .t2_back div,.t3_back div{margin: 3rem 0;}  */
.item img{width: 95%;} 
.item img:hover{opacity: 0.8;border:2px solid #55b1e4} 
.t-title{padding: 3rem 0 2rem 0}
.t-title img{width: 95%}
.photo{padding-bottom: 3rem }
.photo img{width: 90%;}
.top{padding: 3rem 0}
.top img{ width:45%}
.t-img{width: 90%;padding-top: 2rem}
.img1{
    width: 95%;
    height: 280px;
    margin-bottom: 3rem;
    background: url(../image/bousuiboukan-2022_t2.jpg) 50%/cover;
    background-origin: border-box;
    background-clip: padding-box;
    font-size: 2em;
    border: solid 10px rgba(255,255,255,1);
    position: relative;
    padding: 1em;
	transform: rotate(2deg);
}




/* アコーディオンメニュー */


.accordion-001 {
    max-width: 100%;
    width: 100%; /* 常に親要素にフィット */
    background-color: #fafafa;
}

.accordion-001 details {
    margin-bottom: 7px;
}

.accordion-001 summary {
    display: flex;
    justify-content: center; 
    align-items: center;
   padding: 1em 2em; /* 上下パディングを0.5em、左右パディングを1emに設定 */
    border-radius: 25px;
    background-color: #ad9d71;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-align: center; 
    width: 100%; /* バナー部分幅を100%に設定 */
    box-sizing: border-box; /* ボックスモデルを設定 */
}

.accordion-001 p {
    opacity: 0;
    margin: 0;
    padding: 1em 0; /* 内容部分のパディングを調整 */
    color: #333333;
    transition: opacity .5s;
    box-sizing: border-box; /* ボックスモデルを設定 */
}

/* コンテンツが開いた時 */
.accordion-001[open] p {
    opacity: 1;
}

/* スタイル調整 */
.accordion-001 img {
    width: 100%; /* 画像を常に親コンテナの幅にフィットさせる */
    height: auto; /* 高さを自動に */
    margin: 0 auto; /* センター配置 */
}

/* モバイル用のスタイル */
@media screen and (max-width: 768px) {
    .accordion-001 summary {
        padding: 0.4em 0.2em; 
        font-size: 1.1rem; 
        width: 100%; 
    }
}



.hover-img {
    transition: opacity 0.3s ease; /* トランジション効果 */
}

.hover-img:hover {
    opacity: 0.5; /* 半透明にする */
}

/* YOUTUBEのスタイル */


.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 のアスペクト比 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .video-container {
        max-width: 545px; /* PCの最大幅 */
        margin: 0 auto; /* 中央揃え */
    }
}

@media (max-width: 767px) {
    .video-container {
        max-width: 100%; /* モバイルの最大幅 */
    }
}

