@charset "UTF-8";

:root {
  --primary-color: #e60012;
  --secondary-color: #f5f3f2;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
}
body {
  background: var(--secondary-color);
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: "palt";
  font-size: 1.8rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: top;
  transition: all .3s ease;
  -ms-interpolation-mode: bicubic;
}
a {
  text-decoration: none;
  transition: all .3s ease;
}
a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}

/* --------------------------------------------------
  global header
-------------------------------------------------- */

#global-header {
  margin: 0 auto;
  width: calc(100% - 60px);
  background: #fff;
  border-radius: 10px;
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 3;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
}
#global-header .inner {
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#global-header h1, #global-header strong {
  font-size: 2rem;
  display: block;
}
#global-header h1 a, #global-header strong a {
  color: #000;
}
#global-header h1 a:hover, #global-header strong a:hover {
  text-decoration: none;
}
#global-header .logo {
  display: flex;
  align-items: center;
  gap: 4px;
}
#global-header nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
}
#global-header nav a {
  color: #000;
  font-weight: 700;
  position: relative;
}
#global-header nav a::after {
  content: '';
  width: 0;
  height: 3px;
  background: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: all .3s;
}
#global-header nav a:hover {
  text-decoration: none;
}
#global-header nav a:hover::after {
  width: 100%;
}
#sp {
  display: none;
}

@media screen and (max-width: 768px) {
  #global-header {
    width: 100%;
    border-radius: 0;
    top: 0;
  }
  #global-header .inner {
    padding: 0 10px;
    height: 60px;
  }
  #global-header h1, #global-header strong {
    font-size: 1.8rem;
  }
  #global-header h1 img, #global-header strong img {
    width: auto;
    height: 36px;
  }
  #global-header nav {
    display: none;
  }
  #sp {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  #sp span {
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all .3s;
    position: absolute;
  }
  span:nth-of-type(1) {
    top: calc(35% - 1px);
  }
  span:nth-of-type(2) {
    top: calc(50% - 1px);
  }
  span:nth-of-type(3) {
    top: calc(65% - 1px);
  }
  body.on {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  body.on #sp span:nth-of-type(1) {
    top: auto;
    transform: rotate(45deg);
  }
  body.on #sp span:nth-of-type(2) {
    display: none;
  }
  body.on #sp span:nth-of-type(3) {
    top: auto;
    transform: rotate(-45deg);
  }
}

/* --------------------------------------------------
  path
-------------------------------------------------- */

#path ol {
  list-style: none;
  display: flex;
  flex-shrink: none;
}
#path li::after {
  content: '＞';
  margin: 0 15px;
}
#path li:last-child::after {
  content: '';
  margin: 0;
}

@media screen and (max-width: 768px) {
  #path li::after {
    margin: 0 10px;
  }
}

/* --------------------------------------------------
  global footer
-------------------------------------------------- */

#global-footer {
  padding: 40px 0 20px;
  background: var(--primary-color);
  color: #fff;
  position: relative;
  z-index: 2;
}
#global-footer .inner {
  margin: 0 auto;
  width: 1180px;
  display: flex;
  justify-content: space-between;
}
#global-footer address {
  font-style: normal;
}
#global-footer address strong {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
  display: block;
}
#global-footer address a {
  pointer-events: none;
}
#global-footer ul {
  margin-bottom: 16px;
  list-style: none;
  display: flex;
  gap: 2em;
}
#global-footer ul:nth-of-type(2) {
  font-size: 1.4rem;
  display: none; /* 非表示 */
}
#global-footer a {
  color: #fff;
}
#global-footer .ajinomoto {
  display: flex;
  align-items: center;
  gap: 5px;
}
#global-footer .ajinomoto::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url(../img/common/icon-new.svg) no-repeat center/cover;
  display: inline-block;
  order: 3;
}
#global-footer #ajipanda {
  margin: 40px 0 10px;
  font-size: 1.5rem;
  text-align: center;
}
#global-footer #copyright {
  font-size: 1.4rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #global-footer .inner {
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }
  #global-footer address {
    text-align: center;
  }
  #global-footer address a {
    pointer-events: auto;
  }
  #global-footer nav {
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all .3s;
  }
  #global-footer ul {
    margin-bottom: 0;
    gap: 0;
  }
  #global-footer li {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
  }
  #global-footer li a {
    display: flex;
    flex-direction: column;
  }
  #global-footer li a::after {
    content: attr(data-title);
    color: var(--primary-color);
    font-size: 1.4rem;
  }
  #global-footer li a:hover {
    text-decoration: none;
  }
  #global-footer .ajinomoto {
    align-items: start;
    gap: 0;
  }
  body.on #global-footer nav {
    padding: 40px 20px;
    height: calc(100vh - 60px);
    background: rgba(255,255,255,.95);
    display: block;
    position: fixed;
    left: 0;
    top: 60px;
    z-index: 3;
    transition: all .3s;
    overflow: auto;
    visibility: visible;
  }
  body.on #global-footer nav ul {
    flex-direction: column;
  }
  body.on #global-footer nav a {
    color: #000;
  }
  #global-footer #ajipanda {
    font-size: 1.4rem;
  }
  #global-footer #copyright {
    font-size: 1.3rem;
  }
}

/* --------------------------------------------------
  page top
-------------------------------------------------- */

#pagetop {
  width: 90px;
  height: 90px;
  background: #fff;
  border: solid 2px var(--primary-color);
  border-radius: 100vw;
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  transition: all .3s;
  opacity: 1;
  visibility: visible;
}
#pagetop:hover {
  text-decoration: none;
}
#pagetop img {
  width: 30px;
}
#pagetop.hidden {
  opacity: 0;
  visibility: hidden;
}

@media screen and (max-width: 768px) {
  #pagetop {
    width: 70px;
    height: 70px;
    font-size: 1rem;
    right: 10px;
    bottom: 10px;
  }
  #pagetop img {
    width: 24px;
  }
}