/* || General setup */

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
  background-color: #DDDDDD;
}

body {
  width: 96%;
  min-width: 650px;
  margin: 0 auto;
}

/* || typography */

h1, h2, h3, h5 {
  /*font-family: 'Cinzel Decorative', cursive; */
  color: #2a2a2a;
}

p, input, li {
  font-family: 'Roboto Condensed', sans-serif;
  color: #2a2a2a;
}

h1 {
  font-size: 4rem;
  text-align: center;
  /* text-shadow: 2px 2px 10px black; */
}

h2 {
  font-size: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.2rem;
}


h5 {
  font-size: 1.4rem;
  vertical-align: bottom;
  text-align: right;
  width: 450px
}

p, li {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* || header layout */

header {
  margin-bottom: 1px;
  display: flex;
  flex-flow: row wrap;
}

body > * {
  background-color: #FFFFFF;
  padding: 1%;
}

main, header, nav, article, aside, footer, section {
  background-color: #EEEEEE;
  /*  background-color: #E1344C;  */
  /*   background-color: rgba(0,255,0,0.5); */
  /* padding: 1%;*/
  padding: 0;
}

h1 {
  flex: 5; 
  text-transform: uppercase;
}

header img {
  display: block;
  height: 60px;
  padding-top: 1.15px;
}


/* || sidebyside layout <style> */

.sidebyside{
  display:flex;
}
.sidebyside>div{
  width:50%;
}
/* || sidebyside layout </style> */


/*
nav {
  height: 50px;
  flex: 100%;
  display: flex;
}

nav ul {
  padding: 0;
  list-style-type: none;
  flex: 2;
  display: flex;
}
*/
/*
ul.nav li {
*/
/*  display: inline;*/
/*
  display: inline-block;
  text-align: center;
  flex: 1;
  position: relative;    /* ★サブメニュー表示の基準位置にする */
/*
}

ul.nav a, nav span {
  display: inline-block;
  font-size: 2rem;
  height: 3rem;
  line-height: 1.7;
  text-transform: uppercase;
  text-decoration: none;
  color: black;

}
*/
/*
ul.nav a:hover {
  background-color: #ffdddd; /* メニュー項目にマウスが載ったときの背景色(淡いピンク) *//*
  color: white;            /* メニュー項目にマウスが載ったときの文字色(濃い赤色) *//*
}
*/
/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- *//*
ul.ddmenu li:hover ul {
  display: block;      /* ★マウスポインタが載っている項目の内部にあるリストを表示する *//*
}

/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- *//*
ul.ddmenu ul {
  margin: 0px;         /* ★サブメニュー外側の余白(ゼロ) *//*
  padding: 0px;        /* ★サブメニュー内側の余白(ゼロ) *//*
  display: none;       /* ★標準では非表示にする *//*
  position: absolute;  /* ★絶対配置にする *//*
}

/* ------------------------ */
/* ▼サブメニュー項目の装飾 */
/* ------------------------ *//*
ul.ddmenu ul li {
  width: 135px;               /* サブメニュー1項目の横幅(135px) *//*
  border-top: 1px solid pink; /* 項目上側の枠線(ピンク色で1pxの実線) *//*
}
ul.ddmenu ul li a {
  line-height: 35px;     /* サブメニュー1項目の高さ(35px) *//*
  text-align: left;      /* 文字列の配置(左寄せ) *//*
  padding-left: 5px;     /* 文字列前方の余白(5px) *//*
  font-weight: normal;   /* 太字にはしない *//*
}
ul.ddmenu ul li a:hover {
  background-color: #ffff80; /* サブメニュー項目にマウスが載ったときの背景色(淡い黄色) *//*
  color: #005500;            /* サブメニュー項目にマウスが載ったときの文字色(濃い緑色) */
}







/* || main layout */

main {
  display: flex;
}

article, section {
  flex: 4;
}

.img-box img {
  width: 15%;
}

.img-box2 {
  width:75%;
  margin:0 auto;
}

.img-box3 {
  width:7.5%;
}

aside {
  flex: 1;
  margin-left: 10px;
  padding: 1%;
}

aside a {
  display: block;
  float: left;
  width: 50%;
}

aside img {
  max-width: 100%;
}

footer {
  margin-top: 10px;
}


