/* 
**************
COMMON STYLES
css/common.css
**************
*/

/* ******************
COMMON HEADER STYLES
******************* */
html {
  font-size: 10px;
  /* Base color settings */
  /* rgb(11, 14, 17) */
  --tabBgColor: #0b0e11;
  /* rgb(225, 228, 235) */
  --tabSelectedBgColor: #e1e4eb;
  /* --tabSelectedBgColor: hsl(222, 20%, 20%); */
  /* rgb(242, 5, 25) */
  /* --logoRed: #f20519; 実際のロゴの色*/
  --logoRed: #af0412;
  /* Scaffold color get from logo */
  /* rgb(81, 139, 65); */
  /* hsl(107, 36%, 40%); */
  --logoGreen: #528C42;
}

body {
  background: #dadfe7;
}

.setDisplayWidth {
  width: 840px;
  padding: 0 30px;
  margin: 0 auto 0 0;
  background: #fff;
}

#common-Header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background: #fff;
  width: 840px;
  padding: 0 30px 0px 30px;
}

#common-Header .flex_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#common-Header img {
  height: 5.4rem;
  margin: 2rem 0 1.2rem 0;
}

.withProtemics {
  display: inline-block;
  line-height: 3.8rem;
  font-size: 1.4rem;
  padding-left: 1rem;
}

/* google Site Search Settings*/
#googleSearchForm {
  width: 240px;
  margin-bottom: 1.2rem;
}

#googleSearchForm button {
  appearance: none;  /* buttonのデフォルト値を無効にする */
  border: 0;  /* borderのデフォルト値を無効にする */
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  height: 2rem;
  color: hsl(0, 100%, 0%);
  padding: 0 4px;
  cursor: pointer;
}

#googleSearchForm button:hover {
  opacity: 70%;
  transition: 0.5s;
}

#googleSearchForm .formText {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  height: 2rem;
  width: 20rem;
  padding: 0 5px;
  box-shadow: 0 0 0 1px #ccc inset;
}

#googleSearchForm .formText:focus {
  outline: 0;
  background: hsl(33, 100%, 95%);
}

#common-Header .tabTitles {
  list-style: none;
  height: 3.5rem;
  margin: 0;
  padding: 0;
  display: flex;
  color: #fff;
  background: var(--tabBgColor);
}

#common-Header .tabTitles li {
  font-size: 1.4rem;
  line-height: 3.5rem;
  padding: 0 1rem;
  letter-spacing: 0.1rem;
}

#common-Header .tabTitles li:not(.active):hover {
  box-sizing: border-box;
  border-bottom: 4px solid var(--tabSelectedBgColor);
  transition: border-bottom 0.1s;
}

#common-Header .tabTitle.active a {
  cursor: default;
}

#common-Header .tabTitles li.active {
  background: var(--tabSelectedBgColor);
  color: #333;
}

#common-Header .tabTitles li.selected {
  background: var(--logoRed);
  color: #fff;
  text-shadow: 0.5px 0.5px 0.5px #fff;
}

#common-Header .tabContents li {
  margin: 0;
  padding: 0 1rem 0 1rem;
  color: #fff;
  font-size: 1.4rem;
  line-height: 3.5rem;
  letter-spacing: 0.1rem;
}

#common-Header .tabContents li a span {
  padding-bottom: 4px;
}

#common-Header .tabContents li a span:not(.selected):hover {
  border-bottom: 4px solid #333;
  transition: border-bottom 0.1s;
}

#common-Header .tabContents li a span.selected {
  color: var(--logoRed);
}

#common-Header .tabContents li a {
  padding: 0 2rem 0 0;
}

#common-Header .tabContents li.active {
  background: var(--tabSelectedBgColor);
  color: #333;
}

#common-Header .tabContents li:not(.active) {
  display: none;
}

.translucent_bar {
  height: 35px;
  width: 840px;
  background:#fff;
  position: fixed;
  top: 121px;
  /* left: 0px; */
  opacity: 0.7;
}

/* ****************
COMMON MAIN STYLES
**************** */
main {
  /* .whereamiのsticky位置に合わせる */
  /* padding-top: 141px; */
  padding-top: 156px;
}

main h1 {
  font-size: 1.8rem;
  line-height: 2;
}

main h2 {
  font-size: 1.6rem;
  line-height: 2;
}

main p, main ul, main li {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* common .whereami styles */
.whereami {
  /* position: sticky; */
  position: fixed;
  top: 141px;  /* mainのpadding-top:141pxに合わせる */
  left: 380px;
  background: var(--logoRed);
  display: inline-block;
  border: 0.5px solid #aaa;
  box-shadow: 8px 8px 11px rgba(216, 205, 205, 0.7);
  /* box-shadow: 8px 8px 11px rgb(188, 171, 171); */
  z-index: 1;
  border-radius: 2rem;
}

.whereami h1 {
  font-size:1.4rem;
  line-height: 1.2;
  color: #fff;
  padding: 5px 14px;
  font-family: monospace;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.whereami span.separator {
  padding: 0 1rem;
}

.whereami span.subMenu:hover {
  background: linear-gradient(transparent 80%, #e8cece 0%);
}

/* ******************
COMMON FOOTER STYLES
****************** */
footer p {
  font-size: 0.8rem;
  color: #333;
  padding: 1rem;
  border-top: 1px solid #333;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

footer a {
  padding: 0 1rem;
}

footer span:hover {
  border-bottom: 1px solid var(--logoRed);
}
