@charset "UTF-8";

header{
  width: 100%;
    height: 60px;
    background:#eaf6fd;
    display: flex;
    position: fixed;
    top: 0;
    border-bottom: 5px solid 	#f48fb1;
    z-index:999;
  }

  ul {
    list-style: none;
    display: flex;
    font-size:20px;
  }

  
  ul li a {
    font-family: "Bungee", sans-serif;
    padding:10px 15px;
    color: #00a0e9;
    text-decoration: none;
    font-weight: bolder;
  }
  
  ul li a:hover {
    text-decoration: underline;
  }


body{
  font-family: "Bungee", sans-serif;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  background-image: url(images/bg.jpg);
  background-repeat: repeat;
  background-size: 100% auto;
}
.logo img{
    position:relative;
    width:581px;
    height:581px;
    margin-left:auto;
    margin-right:auto;
    margin-top:9%;
    margin-bottom:5%;
}
.kochira{
  text-align: center;
}
.kochira img{
  width: 50%;
}
.midashi{
  justify-content: center; /* 画像の中央寄せ */
}
.midashi img{
  width:20%;
}
.lip {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.lip img {
  width: 200px; /* 画像サイズは好みで */
  position: absolute;
  right: 20%; /* ボックスの右上あたりに配置 */
  top: -80px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}

.title-box {
  width: 70%;
  padding: 30px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #f48fb1;
  color: #f48fb1;
  margin: 60px auto;
  margin-top: 35px;
  z-index: 1; /* lipの画像の下に置かれないように */
}
h2{
  font-size: 30px;
  color: #FF3399;
}
h4{
  font-size: 18px;
}
.ude {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.ude img {
  width: 200px; /* 画像サイズは好みで */
  position: absolute;
  right: 18%; /* ボックスの右上あたりに配置 */
  top: -65px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}
.title-box1 {
  width: 70%;
  padding: 10px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #00a0e9 ;
  color: #00a0e9;
  margin: 60px auto;
  margin-top: -10px;
}
h3{
  font-size: 30px;
  color: #0067C0;
}
h1{
  font-size: 30px;
  color:  #00a0e9;;
}
h5{
  font-size: 18px;
}
.company{
  display: flex;
  margin-left: 10%;
}
.LC{
  margin-left: 21%;
  margin-top: 2%;
}
.LC img{
  width: 110%;
}
.regal{
  margin-right: 7%;
  margin-top: 5%;
}
.regal img{
  width: 50%;
}
.rights{
   color: #f48fb1;
  font-size:14px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}

@media (min-width:1px) and (max-width:767px){
 header{
  width: 100%;
    height: 50px;
    background:#eaf6fd;
    display: flex;
    position: fixed;
    top: 0;
    border-bottom: 3px solid 	#f48fb1;
    z-index:999;
  }

  ul {
    list-style: none;
    display: flex;
    font-size:17px;
    margin-left: -10%;
  }

  
  ul li a {
    font-family: "Bungee", sans-serif;
    padding:10px 13px;
    color: #00a0e9;
    text-decoration: none;
    font-weight: bolder;
    font-size:13px;
  }
  
  ul li a:hover {
    text-decoration: underline;
  }


body{
  font-family: "Bungee", sans-serif;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  background-image: url(images/bg.jpg);
  background-repeat: repeat;
  background-size: 100% auto;
}
.logo img{
    position:relative;
    width:250px;
    height:250px;
    margin-left:auto;
    margin-right:auto;
    margin-top:24%;
    margin-bottom:5%;
}
.kochira{
  text-align: center;
}
.kochira img{
  width: 60%;
}
.midashi{
  justify-content: center; /* 画像の中央寄せ */
}
.midashi img{
  width:35%;
}
.lip {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.lip img {
  width: 100px; /* 画像サイズは好みで */
  position: absolute;
  right: 10%; /* ボックスの右上あたりに配置 */
  top: -40px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}

.title-box {
  width: 70%;
  padding: 30px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #f48fb1;
  color: #f48fb1;
  margin: 60px auto;
  margin-top: -10px;
  z-index: 1; /* lipの画像の下に置かれないように */
}
h2{
  font-size: 15px;
  color: #FF3399;
}
h4{
  font-size: 13px;
}
.ude {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.ude img {
  width: 100px; /* 画像サイズは好みで */
  position: absolute;
  right: 13%; /* ボックスの右上あたりに配置 */
  top: -35px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}
.title-box1 {
  width: 70%;
  padding: 10px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #00a0e9 ;
  color: #00a0e9;
  margin: 60px auto;
  margin-top: -10px;
}
h3{
  font-size: 15px;
  color: #0067C0;
}
h1{
  font-size:13px;
  color:  #00a0e9;;
}
h5{
  font-size: 13px;
}
.company{
  display: flex;
  margin-left: 10%;
}
.LC{
  margin-left: 6%;
  margin-top: -1%;
}
.LC img{
  width: 150%;
}
.regal{
  margin-right: -11%;
  margin-top: 5%;
}
.regal img{
  width: 50%;
}
.rights{
   color: #f48fb1;
  font-size:8px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}
}

@media  (min-width: 768px) and (max-width: 1000px) {
    header{
  width: 100%;
    height: 60px;
    background:#eaf6fd;
    display: flex;
    position: fixed;
    top: 0;
    border-bottom: 5px solid 	#f48fb1;
    z-index:999;
  }

  ul {
    list-style: none;
    display: flex;
    font-size:20px;
  }

  
  ul li a {
    font-family: "Bungee", sans-serif;
    padding:10px 15px;
    color: #00a0e9;
    text-decoration: none;
    font-weight: bolder;
  }
  
  ul li a:hover {
    text-decoration: underline;
  }


body{
  font-family: "Bungee", sans-serif;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  background-image: url(images/bg.jpg);
  background-repeat: repeat;
  background-size: 100% auto;
}
.logo img{
    position:relative;
    width:400px;
    height:400px;
    margin-left:auto;
    margin-right:auto;
    margin-top:11%;
    margin-bottom:5%;
}
.kochira{
  text-align: center;
}
.kochira img{
  width: 60%;
}
.midashi{
  justify-content: center; /* 画像の中央寄せ */
}
.midashi img{
  width:30%;
}
.lip {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.lip img {
  width: 170px; /* 画像サイズは好みで */
  position: absolute;
  right: 10%; /* ボックスの右上あたりに配置 */
  top: -65px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}

.title-box {
  width: 70%;
  padding: 30px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #f48fb1;
  color: #f48fb1;
  margin: 60px auto;
  margin-top: -10px;
  z-index: 1; /* lipの画像の下に置かれないように */
}
h2{
  font-size: 30px;
  color: #FF3399;
}
h4{
  font-size: 18px;
}
.ude {
  position: relative; /* 配置の基準になる */
  width: 100%;
  display: flex;
  justify-content: center; /* 画像の中央寄せ */
  margin-top: 40px;
}

.ude img {
  width: 170px; /* 画像サイズは好みで */
  position: absolute;
  right: 9%; /* ボックスの右上あたりに配置 */
  top: -65px; /* 少し重なるように上にずらす */
  z-index: 2; /* タイトルボックスより前面に出す */
}
.title-box1 {
  width: 70%;
  padding: 10px 20px;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  max-width: 800px;
  border: 4px solid #00a0e9 ;
  color: #00a0e9;
  margin: 60px auto;
  margin-top: -10px;
}
h3{
  font-size: 30px;
  color: #0067C0;
}
h1{
  font-size: 25px;
  color:  #00a0e9;;
}
h5{
  font-size: 18px;
}
.company{
  display: flex;
  margin-left: 10%;
}
.LC{
  margin-left: 21%;
  margin-top: 2%;
}
.LC img{
  width: 110%;
}
.regal{
  margin-right: 7%;
  margin-top: 5%;
}
.regal img{
  width: 50%;
}
.rights{
   color: #f48fb1;
  font-size:14px;
  padding-top: 35px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}
}
