@charset "UTF-8";

/* テキストの自動拡大を無効化 */
body {
	-webkit-text-size-adjust: none;
	text-size-adjust: none; 
}

/* 基本設定 */
* {
	margin: 0;
}
img {
	width: 100%;
	height: auto;
}
/* 1em@48em(768px) から 2em@120em(1920px) に増加*/
@media (min-width: 48rem) {
  :root { font-size: calc(100% + ((1vw - .48rem) * 1.389)); }
    /* .48rem = viewportWidthMinimum /100 */
    /* 1.389rem = 100 * fontSizeDifference / viewportWidthDifference */
}
/* ページ全体の設定 */
body { 
  display: grid;
  background-color: #c7ebc0;
	grid-template-columns:  0.1fr repeat(8,1fr) 0.1fr;
	grid-template-rows: 
           		[head]   100px
              [nave]   50px
             	[title]  30px
          		[table]  550px
              [guido]  50px
          		[foot]   100px;
	grid-row-gap: 5px;
	row-gap: 5px;
	font-family: sans-serif;
}
/* パーツの配置*/
body > * {
	grid-column: 1 / -1;
}
/* ヘッダー */
header {
  grid-column: 1 / -1;
	grid-row: head;
	align-self: top;
}
/* ナビゲーションメニュー */
.inline-block-test {
	grid-row: nave;
  grid-column: 2 / -2;
  justify-self: center;
  text-decoration: none;
	align-self: center;
}
.inline-block-test ul-1 {
  grid-row: nave;
  grid-column: 2 / -2;
	list-style: none;
  margin:  0;
	padding: 0;
  justify-self: center;
  align-self: center;
}
.inline-block-test li {
  grid-row: nave;
  grid-column: 2 / -2;
	display: inline-block;
  align-self: center;
}
.inline-block-test li a {
  grid-row: nave;
  grid-column: 2 / -2;
	display: block;
  padding: 10px;
}
.inline-block-test a:hover {
  grid-row: nave;
  grid-column: 2 / -2;
  color: #ff1493;
}
/* タイトル */
h3 {
    grid-row: title;
    grid-column: 2 / -2;
    justify-self: left;
    font-size: 23px;
}
/* テーブル */
iframe-content{
    grid-row: table;
    grid-column: 1 / -1;
    position: relative;
    padding-bottom: 100%;
    height: 0px;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width: 100%;
    height: 750px;
}
/* ガイドへ */
.pguide {
  grid-row: guido;
  grid-column: 2 / -2;
  justify-self: center;
  text-decoration: none;
  align-self: center;
}
.pguide ul-1 {
  grid-row: guido;
  grid-column: 2 / -2;
  list-style: none;
  margin:  0;
  padding: 0;
  justify-self: center;
  align-self: center;
}
.pguide li {
  grid-row: guido;
  grid-column: 2 / -2;
  display: inline-block;
  align-self: center;
}
.pguide li a {
  grid-row: guido;
  grid-column: 2 / -2;
  display: block;
  padding: 3px;
}
/* フッター */
footer {
  grid-column: 1 / -1;
	grid-row: foot;
	align-self: bottom;
	font-family: 'Raleway', sans-serif;
}

/* ===== PC-Extra-Large版の設定 ===== */
@media (max-width: 1281px) and (min-width: 1500px) {

/* ページ全体の設定 */
body {
  max-width: 1500px;
  grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
  grid-column-gap: 5%;
  column-gap: 5%;
  grid-template-rows: 
              [head]   100px
              [nave]   80px
              [title ] 50px
              [table]  550px
              [guido]  50px
              [foot]   100px;
}
/* ヒーローイメージ */
figure.hero {
  grid-row: title;
  margin-top: 2px;
}
/* ヘッダー */
header {
  grid-row: head;
  grid-column: 1 / -1;
  justify-self: start;
}
/* ナビゲーションメニュー */
.inline-block-test {
  grid-row: nave;
  grid-column: 2 / -2;
  text-decoration: none;
  justify-self: center;
  align-self: center;
}
.inline-block-test ul-1 {
  grid-row: nave;
  grid-column: 2 / -2;
  list-style: none;
  margin:  0;
  padding: 0;
  justify-self: center;
  align-self: center;
}
.inline-block-test li {
  display: inline-block;
  align-self: center;
}
.inline-block-test li a {
  display: block;
  padding: 3px;
}
.inline-block-test a:hover {
  color: #666666;
}
/* タイトル */
h3 {
    grid-row: title;
    grid-column: 2 / -2;
    justify-self: left;
}
iframe-content{
    grid-row: table;
    grid-column: 1 / -1;
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width:100%;
    height: 400px;
}

}
/* ===== PC-Extra-Large版の設定ここまで ===== */

/* ===== pc-Large版の設定 ===== */
@media (max-width: 835) and (min-width: 1280px) {

/* ページ全体の設定 */
body {
  max-width: 1280px;
  grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
  grid-column-gap: 3%;
  column-gap: 3%;
  grid-template-rows: 
　　　　　　    [head]   70px
               [nave]   40px
  　　         [title]  30px
               [table] 350px　
               [guido]  30px
　　　　　　    [foot]   50px;
}
/* ヘッダー */
header {
  justify-self: start;
}
/* ナビゲーションメニュー */
.inline-block-test {
  grid-row: nave;
  grid-column: 2 / -2;
  text-decoration: none;
  justify-self: center;
  align-self: center;
}
.inline-block-test ul-1 {
  list-style: none;
  margin:  0;
  padding: 0;
  justify-self: center;
  align-self: center;
}
.inline-block-test li {
  display: inline-block;
  align-self: center;
}
.inline-block-test li a {
  display: block;
  padding: 3px;
}
.inline-block-test a:hover {
  color: #666666;
}
/*記事一覧 */
h3 {
  grid-row: title;
}
iframe-content{
    grid-row: table;
    grid-column: 2 / -2;
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width:100%;
    height: 400px;
}
/* ガイドへ */
.pguide {
  grid-row: guido;
  grid-column: 2 / -2;
  justify-self: center;
  text-decoration: none;
  align-self: center;
}
.pguide ul-1 {
  grid-row: guido;
  grid-column: 2 / -2;
  list-style: none;
  margin:  0;
  padding: 0;
  justify-self: center;
  align-self: center;
}
.pguide li {
  grid-row: guido;
  grid-column: 2 / -2;
  display: inline-block;
  align-self: center;
}
.pguide li a {
  grid-row: guido;
  grid-column: 2 / -2;
  display: block;
  padding: 3px;
}
/* フッター */
footer {
  grid-column: 1 / -1;
  grid-row: foot;
  align-self: bottom;
  font-family: 'Raleway', sans-serif;
}

}
/* ===== pc-Large版の設定ここまで ===== */

/* ===== Tablet-Laptop版の設定 ===== */
@media (max-width: 769) and (min-width: 834px) {

/* ページ全体の設定 */
body {
  max-width: 834px;
	grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
	grid-column-gap: 3%;
	column-gap: 3%;
	grid-template-rows: 
　　　　　　		[head]   auto
              [nave]   40px
  　　        	[title]  40px
              [table]  500px　
              [guido]  40px
　　　　　　		[foot]   50px;
}
/* ヘッダー */
header {
	justify-self: start;
}
/* ナビゲーションメニュー */
.inline-block-test {
  grid-row: nave;
  grid-column: 2 / -2;
  text-decoration: none;
  justify-self: center;
  align-self: center;
}
.inline-block-test ul-1 {
  list-style: none;
  margin:  0;
  padding: 0;
  justify-self: center;
  align-self: center;
}
.inline-block-test li {
  display: inline-block;
  align-self: center;
}
.inline-block-test li a {
  display: block;
  padding: 3px;
}
.inline-block-test a:hover {
  color: #666666;
}
/* 記事一覧 */
h3 {
	grid-row: title;
}
iframe-content{
    grid-row: table;
    grid-column: 2 / -2;
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width:100%;
    height: 100px;
}

}
/* ===== Tablet-Laptop版の設定ここまで ===== */

/* ===== SP-small版の設定 ===== */
@media  (max-width: 415) and (min-width: 768px) {

/*ページ全体の設定 */
body {
  max-width: 768px;
  grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
  grid-column-gap: 3%;
  column-gap: 3%;
  grid-template-rows: 
              [head]   30px
              [nave]   90px
              [title]  30px
              [table]  300px
              [guido]  25px
              [foot]   30px;
}
/* ヘッダー */
header {
  justify-self: start;
}
/* ナビゲーションメニュー */
nav {
  grid-row:  nave; 
  justify-self: center;
  align-self: center;
  font-size: 16px;
}
/* 記事一覧 */
h3 {
  grid-row: title;
}
iframe-content{
    grid-row: table;
    grid-column: 2 / -2;
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width:100%;
    height:100%;
}

}
/* ===== SP-small版の設定ここまで ===== */

/* ===== SP-Extra-Small版の設定 ===== */
@media (max-width: 414px) {

/*ページ全体の設定 */
body {
  max-width: 414px;
  grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
  grid-column-gap: 3%;
  column-gap: 3%;
  grid-template-rows: 
              [head]   30px
              [nave]   90px
              [title]  30px
              [table] 650px
              [guido]  40px
              [foot]   30px;
}
/* ヘッダー */
header {
  justify-self: start;
}
/* ナビゲーションメニュー */
nav {
   grid-row:  nave; 
   justify-self: center;
   align-self: center;
   font-size: 16px;
}
/* 記事一覧 */
h3 {
  grid-row: title;
}
iframe-content{
    grid-row: table;
    grid-column: 2 / -2;
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
iframe-content iframe {
    position:absolute;
    top:0;
    left:0;
    max-width:100%;
    height:100%;
}

}
/* ===== SP-Extra-Small版の設定ここまで ===== */
