@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');


:root {
/* color */
  --background:              #eeeeee;
  --background-wrap:         #f9f9f9;
  --background-inner:        #ffffff;
  --link:                    #333333;
  --linkhover:               #e06767;

/* layout */
  --content-column-max-width: 45rem;
}





* { 
  box-sizing: border-box; 
}

html {
  font-family: 'Noto Sans', Sans-Serif;
  font-size: 100%;
  vertical-align: top;
}

body {
  background-color: var(--background);
  padding: 2rem;
}

h1 {
  font-family: 'Noto Serif', Serif;
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
  font-size: clamp(2.3rem, 2vw, 4rem);
  border-bottom: .5px solid var(--coal-black);
  margin: -.333rem 0 .667rem;
  padding-bottom: .333rem;
}
h2 {
  font-family: 'Noto Serif', Serif;
  font-size: clamp(1.75rem, 1.25vw, 2.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
}
h3 {
  font-family: 'Noto Serif', Serif;
  font-size: clamp(1.5rem, 1.0vw, 2rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
}
h4 {
  font-family: 'Noto Serif', Serif;
  font-size: clamp(1.33rem, 0.9vw, 1.75rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
}
h5 {
  font-family: 'Noto Serif', Serif;
  font-size: clamp(1.25rem, 0.8vw, 1.66rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
}
h6 {
  font-family: 'Noto Serif', Serif;
  font-size: clamp(1rem, 0.7vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
}
p {
  font-family: 'Noto Sans', Sans-Serif;
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 175%;
  color: var(--coal-black);
}

li {
  font-family: 'Noto Sans', Sans-Serif;
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--coal-black);
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
  color: var(--linkhover);
}

.wrapper {
  background-color: var(--background-wrap);
  padding: 1rem 2rem 2rem 2rem;
  margin: 0 auto;
  max-width: 1400px;
}

article, section {
  background-color: var(--background-inner);
  padding: 1rem;
}

article:after, section:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.by-three {
  width: 33%;
  float: left;
  padding: 1rem 2rem 1rem 0;
}

.by-three img {
  width: 100%;
}

.by-three:nth-child(3n+1){
  clear: both;
}

header {
  display: table;
  width: 100%;
}

header div.logo, header nav {
  display: table-cell;
}

header div.logo {
  padding: 1rem 26px 1rem 0;
  width: 350px;
  vertical-align: middle;
}
header nav {
  width: calc(100%-350px);
  vertical-align: middle;
  text-align: right
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
 
.clearfix {
  display: block;
}

/* main content section  */


section.main {
  display: block;
  padding: 1rem;
  width: 100%;
}

@media (min-width: 728px) {
  section.main {
    display: block;
  }
}

@media (min-width: 1140px) {
  section.main {
	padding: 2rem;
  }
}


.content {
  border: 1px solid #eeeeee;
  min-height: 75vh;
}

/* home page articles layout */
.list-article-title h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.list-main-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

/* list-main-article */
.list-main-article .list-article-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--dark);
}

.list-main-article .list-article-title {
  padding: 1rem 2rem;
  color: var(--light);
  background-color: var(--light-blue);
}

.list-main-article .list-article-title a {
  color: var(--light);
}

.list-main-article .list-article-title h2 {
  padding: 0;
  margin: 0;
}

/* list-two-article */
.list-two-article {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article .list-article-image img {
  width: 100%;
  height: auto;
}

.list-two-article .list-inner-article .list-article-title {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article:first-child {
  padding-bottom: 1rem;
  border-bottom: 0.5px solid var(--greysh);
}

.list-two-article .list-inner-article:last-child {
  padding-top: 1rem;
}

@media (min-width: 728px) {
  .list-two-article {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .list-two-article .list-inner-article {
    display: table-cell;
    width: 50%;
    padding-left: 1rem;
  }
  .list-two-article .list-inner-article:first-child {
    border-right: 1px solid var(--dark);
    padding-left: 0;
    padding-right: 1rem;
    border-bottom: 0;
    padding:bottom: 0;
  }
  .list-two-article .list-inner-article:last-child {
    padding-top: 0;
  }
}


/* list-one-pict-article */
.list-one-pict-article {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-one-pict-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-one-pict-article .list-article-image img {
  width: 100%;
  height: auto;
}

.list-one-pict-article .list-article-image a {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}


@media (min-width: 480px) {
  .list-one-pict-article {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .list-one-pict-article .list-article-image {
    display: table-cell;
    width: 25%;
    vertical-align: middle;
    padding-right: 1rem;
  }
  .list-one-pict-article .list-article-title {
    display: table-cell;
    width: 75%;
    vertical-align: middle;
    padding-left: 1rem;
  }
}

.list-one-article, .list-article-more {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-article {
  margin-bottom: 1rem;
}

div.sep {
  clear: both;
  padding: 0.5rem 0;
}

div.sep > div {
  border-top: 0.5px solid var(--greysh);
  height: 1px;
}

/*
#main-nav ul {
  list-style: none;
  text-align: right;
  width: 100%;
  padding-right: 1rem;
}
#main-nav ul > li {
  display: inline-block;
  padding-left: 2rem;
}
#main-nav ul > li > ul {
  display: none;
}

*/

/* navigation start */
#menu-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
}

#menu-toggle .menu-line {
  fill: #555555;
  visibility: visible;
}
.sm-active #menu-toggle .menu-line {
  visibility: hidden;
}

#menu-toggle .menu-x {
  fill: #555555;
  visibility: hidden;
}

.sm-active #menu-toggle .menu-x {
  visibility: visible;
}

#main-header nav ul {
  display: none;
}

#main-header.sm-active nav ul {
  display: block;
}
#main-header nav {
  position: relative;
}

#main-header ul li a,  #main-header ul li span {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 2.5rem;
  font-size: 1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #555555;
}  

#main-header nav > ul, #main-header nav > ul > li > ul  {
  display: inline-block;
  list-style-type: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 1rem;
}

#main-header nav > ul > li > ul {
  padding: 0.75rem;
}

#main-header nav > ul {
  display: none;
}

/* Mobile menu styling (below 1024px) */
@media (max-width: 1023px) {
  #main-header.sm-active nav > ul {
    background-color: #f9f9f9;
    border: 1px solid #cccccc;
    padding: 0.5rem 0;
    margin-top: 3rem;
  }

  #main-header nav > ul > li {
    display: block;
    padding: 0.25rem 1.5rem;
    border-bottom: 1px solid #eeeeee;
  }

  #main-header nav > ul > li:last-child {
    border-bottom: none;
  }

  #main-header nav > ul > li > ul {
    display: block;
    padding: 0.25rem 0 0 1rem;
    margin-top: 0.25rem;
  }

  #main-header nav > ul > li > ul > li {
    padding: 0.15rem 0;
    margin: 0;
  }
}

@media (min-width:1024px) {
  #main-header nav ul {
    display: block;
  }
  #menu-toggle {
    display: none;
  }
  #main-header > nav > ul {
    padding-right: 2rem;
  }
  #main-header > nav > ul > li {
    display: inline-block;
    border-bottom: 0;
    text-align: center;
    padding: 0 0 0 2rem;
    position: relative;
  }
  #main-header > nav > ul > li > ul {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: 1rem;
    background-color: #f9f9f9;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    text-align: left;
    min-width: 200px;
  }
  #main-header > nav > ul > li:last-child > ul {
    left: auto;
    right: -1rem;
  }
  #main-header > nav > ul > li:hover > ul {
    display: block;
  }
  #main-header > nav > ul > li  > ul > li {
    text-align: left;
    white-space: nowrap;
    margin: 0;
    padding-left: 1rem;
    width: 100%;
  }
}



/* navigation end */
