@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 { 
  max-width: 1500px;
  margin: auto;
  display: grid;
  background-color: #c7ebc0;
	grid-template-columns:  0.1fr repeat(8,1fr) 0.1fr;
	grid-template-rows: 
           		[head]   auto
              [nave]   50px
             	[title]  30px
          		[table]  650px
              [guido]  25px
          		[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: 1 / -1;
  justify-self: center;
  text-decoration: none;
	align-self: center;
}
.inline-block-test ul-1 {
  grid-row: nave;
  grid-column: 1 / -1;
	list-style: none;
  margin:  0;
	padding: 0;
  justify-self: center;
  align-self: center;
}
.inline-block-test li {
  grid-row: nave;
  grid-column: 1 / -1;
	display: inline-block;
  align-self: center;
}
.inline-block-test li a {
  grid-row: nave;
  grid-column: 1 / -1;
  color: #0000cd;
	display: block;
  padding: 3px;
}
.inline-block-test a:hover {
  grid-row: nave;
  grid-column: 1 / -1;
  color: #ff1493;
}
/* タイトル */
h3 {
    grid-row: title;
    grid-column: 2 / -2;
    justify-self: left;
    font-size: 20px;
}

/* テーブル */
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: 695px;
}
/*TOP-スクロール*/
.pagetop2 {
  position: fixed;
  bottom: 24px;
  right: 24px;
  margin: 0 auto;
  z-index: 200;
}
.pagetop2 a {
  display: table-cell;
  width: 6em;
  height: 6em;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-size: 1.2em;
  line-height: 1;
  border-radius: 50%;
  background: #000;
  behavior: url(PIE.htc); 
}

/* ガイドへ */
.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版の設定 ===== */
@media (max-width: 769px) and (min-width: 1500px) {
/* PC版：ページ全体の設定 */
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]   50px
              [title ] 50px
              [table]  auto
              [guido]  30px
              [foot]   100px;
}
/* PC版：ヘッダー */
header {
  grid-row: head;
  grid-column: 1 / -1;
  justify-self: start;
}
/* ナビゲーションメニュー */
.inline-block-test {
  grid-row: nave;
  grid-column: 1 / -1;
  text-decoration: none;
  justify-self: center;
  align-self: center;
}
.inline-block-test ul-1 {
  grid-row: nave;
  grid-column: 1 / -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 {
  grid-row: nave;
  grid-column: 1 / -1;
  color: #ff1493;
}
/* タイトル */
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: 750px;
}
/*ヒーローイメージ */
figure.hero {
  grid-row: title;
  margin-top: 2px;
}
}
/* ===== PC版の設定ここまで ===== */

/* ===== Tablet版の設定 ===== */
@media (max-width: 415) and (min-width: 768px) {
/* Tablet版：ページ全体の設定 */
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]   50px
              [nave]   40px
  　　        	[title]  40px
              [table]  805PX　
              [guido]  40px
　　　　　　		[foot]   50px;
}
/* Tablet版：ヘッダー */
header {
	justify-self: start;
}
/* Tablet版：ナビゲーションメニュー */
/* ナビゲーションメニュー */
.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 {
  grid-row: nave;
  grid-column: 2 / -2;
  color: #ff1493;
}
/* Tablet版：記事一覧 */
h3 {
	grid-row: title;
}
div-1  {
       grid-row: table;
       justify-self: center;
}
.photo article {
       justify-self: center;
}
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版の設定ここまで ===== */

/* ===== SP版の設定 ===== */
@media (max-width: 414px) {
/* SP版：ページ全体の設定 */
body {
  max-width: 414px;
  grid-template-columns: 0.1fr repeat(8,1fr) 0.1fr;
  grid-column-gap: 5px;
  column-gap: 5px;
  grid-template-rows: 
              [head]   30px
              [nave]   80px
              [title]  30px
              [table]  690px
              [guido]  15px
              [foot]   30px;
}
/* SP版：ヘッダー */
header {
  justify-self: start;
}
/* SP版：ナビゲーションメニュー */
nav {
  grid-row:  nave; 
  justify-self: center;
  align-self: center;
  font-size: 16px;
}
/* SP版：記事一覧 */
h3 {
  grid-row: title;
}
h4 {
  grid-row: sub;
}
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版の設定ここまで ===== */
