@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    font-size: 100%;
}

div:after {
    content: "";
    display: block;
    clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
    background-image: url("../img/moon.png"); /* 背景画像を指定 */
    line-height: 1.6;
    font-size: 81.25%;
    color: #414141;
}

html {
    overflow-y: scroll;
}

a {
    text-decoration: none;
    outline: none;
    color: #333333;
}

a:hover{
    text-decoration: underline;
    color: #666666;
}

a:hover img{
    opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
    width: 944px;
    padding: 10px 0;
    margin: 0 auto;
    background: #fff;
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
    padding: 10px 0;
    text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
    width: 944px;
    margin: 0 auto;
    padding: 10px 0;
    overflow: hidden;
}

div#Contents:after {
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
    width: 944px;
    margin: 0 auto;
    position: relative;
}

nav ul li {
    list-style: none;
    width: 236px;
    margin: 0 0 20px 0;
    float: left;
}

nav ul li a img:nth-child(2){
    position: absolute;
    margin-left: -236px;
  transition: opacity 1s;
}

nav ul li a:hover img:nth-child(2){
  opacity: 0;
}


/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
    width: 700px;
    margin: 0 auto;
}

div#Main h2 {
    font-size: 105%;
    font-weight: bold;
    color: #504946;
}
div#Main #movie video {
  width: 420px; /* 任意の横幅を指定 */
  display: block; /* margin効かすため */
    margin: 0 auto; /* 上下余白無し、左右中央 */
}

/* スマホのフレーム画像 */
div#Main #PortImgvideo {
    position: relative;
    width: 240px; /* 420pxに縮小 */
    display: block; /* margin効かすため */
    margin: 0 auto; /* 上下余白無し、左右中央 */
}
div#Main #PortImgvideo  .frame-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2; /* 動画より手前に表示させる */
    pointer-events: none; /* 画像の下にある動画をタップ・操作できるようにする */
}
/* フレーム内に入れる動画 */
div#Main #PortImgvideo video {
    width: 420px; /* 420pxに縮小 */
  position: absolute;
  /* 👇 使用するスマホ画像の「液晶画面の位置」に合わせて％数値を微調整 */
  top: 2%;      
  left: 5%;      
  width: 90%;    
  height: 96%;   
 
  object-fit: cover; /* 縦横比がズレた場合に自動でトリミング */
  z-index: 1;        /* 画像の後ろ（内側）に配置 */
}




div#Main div#TopImg {

    margin: 5px auto 0 auto;
    text-align: center;
}

div#Main div#PortImg {
    margin: 5px auto 0 auto;
    text-align: center;
}

div#Main p {
    color: #504946;
    margin-top: 10px;
}

div#Main table {
    width: 80%;
    margin: 10px auto 20px auto;
    border-collapse: collapse;
    border: 0 none;
}

div#Main table tr th {
    width: 25%;
    padding: 10px 10px;
    background: #825fce7e;
    border: none;
    border-bottom: 1px solid #dcd1f0;
    text-align: left;
    vertical-align: top;
    color: #fff;
}

div#Main table tr td {
    width: 75%;
    padding: 10px 10px;
    border: none;
    border-bottom: 1px solid #e2d9f3;
    text-align: left;
    vertical-align: top;
}

div#Main table tr td ul {
    padding: 0 0 0 8px;
    margin: 0 0 0 8px;
}

div#Main table tr td ol {
    padding: 0 0 0 8px;
    margin: 0 0 0 8px;
}

/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
p.pagetop {
    text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
    clear: both;
    text-align: center;
    color: #504946;
}