@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap');

/*リセットCSS　■■■■■■■■■■■■■■■■■■■■■■■■■*/

/* Eric Meyer’s Reset CSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

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

input, button, textarea {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

/*共通　■■■■■■■■■■■■■■■■■■■■■■■■■*/

span.red { color: #E60033; }
span.orange { color: #fe7e01 ; }
span.yellow { color: #FFF100 ; }
 span.blue { color:  #33ccff ; }


/*ヘッダー（全体とロゴ）　■■■■■■■■■■■■■■■■■■■■■■■■■*/

body {
  font-family: 'Noto Sans JP', sans-serif;
}

.header {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffe0 ;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 5px 7px #f5deb3;
}

.logo {
  font-family: "Inknut Antiqua", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2.7rem;
}

.logo-link {
	margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 80px;
}

.title-miks{
  color: #ffd700;
}

.main-words {
    display: flex;
}

.wordmiks-kana{
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  color: #555;
  margin-bottom: -10px;
}

/*movies　■■■■■■■■■■■■■■■■■■■■■■■■■*/

/* 基本レイアウト */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.section-lead {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    margin-top: 100px;
}

/* ビデオグリッド（横並び設定） */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 動画カードのスタイル */
.video-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* YouTubeの比率(16:9)を維持するレスポンシブ設定 */
.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

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

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #FF8C00; /* オレンジ色をアクセントに */
}

.video-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 戻るボタン */
.back-home {
    text-align: center;
    margin-top: 50px;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.btn-back:hover {
    background-color: #FF8C00;
}

/*コピーライト　■■■■■■■■■■■■■■■■■■■■■■■■■*/

.footer{
  padding-top: 10px;
  margin-top: 100px;
  width: 100%;
  height: 135px;
  background-color: #414141 ;
  color: white;
  text-align: center;
  line-height: 40px;
  font-size: 0.8rem;
}

.privacy{
	color: white;
}
.privacy:link {
	color: white;
}
.privacy:visited {
	color: white;
}
.privacy:hover {
	color: white;
}

.terms{
	color: white;
}
.terms:link {
	color: white;
}
.terms:visited {
	color: white;
}
.terms:hover {
	color: white;
}

/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*レスポンシブ対応*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/

/* スマートフォン */
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
@media (min-width: 0px) and (max-width: 481px) {

 /*■ヘッダータイトル■*/

	.header {
	  height: 60px;
	}
	.logo-link {
		margin-top: 10px;
		height: 50px;
	}
  .main-words{
    font-size: 1.7rem;
  }
  .wordmiks-kana{
    font-size: 0.6rem;
  }
	
  	/*■terms■*/
	.terms-section {
	  padding: 0;
	}
	.terms-container {
	  width: 90%;
	  padding: 10px;
	  line-height: 1.5;
	}
	.terms-title-box{
	  padding: 3px auto;
	  min-height: 50px;
	  margin-bottom: 20px;
	}
	.terms-title-text{
		font-size: 1.2rem;
		line-height: 50px;
	}
	.terms{
		padding-left: 10px;
	}

	.terms-sub-head{
		font-size: 1rem;
		font-weight: 700;
	}
	.terms-detail{
		font-size: 0.9rem;
		font-weight: 300;
	}
}

/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
/* タブレット */
/*★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★*/
@media (min-width: 481px) and (max-width: 768px) {

 /*■ヘッダータイトル■*/
 
	.logo-link {
		margin-top: 15px;
	}
  .main-words{
    font-size: 2.5rem;
  }
  .wordmiks-kana{
    font-size: 0.7rem;
  }

}


