/* リセットや基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  font-family: 'BIZ UDMincho', serif;
  background-color: #447291;
  color: #F6FCFE;
  line-height: 1.5;
  font-size: 1.1rem;
}

/* 共通 */
.c_wrap {
  /* padding: 80px 40px; */
  padding: 60px 30px;
}
figure{
  margin: 0;
}
img {
  width: 100%;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: .7;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.bg_wh {
  background-color: #F6FCFE;
  color: #000;
}
.big_text {
  font-size: 2rem!important;
}
.yellow_marker{
  border-bottom: 3px dashed #F39A12;
}
.button{
  background: #F6FCFE;
  color: #000;
  padding: 20px;
  width: 60%;
  max-width: 500px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  position: relative;
  font-weight: bold;
}
.button:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #000;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}
.l-h2{
  line-height: 2rem;
}

/* ヘッダー */
header {
  background-color: #2C4C61;
  padding: 20px;
}
.nav__list{
  display: flex;
}
.nav__item a{
  font-family: 'Inter', sans-serif;
  margin-left: 20px;
  color: #FFF;
}
.nav__item:last-child a{
  background-color: #F39A12;
  padding : 15px 20px;
  border-radius: 6px;
}
button {
  display: none;
}
h1 {
  font-size: 1.8rem;
}
h3 {
  margin: 60px auto 30px;
}

/* メインコンテンツ */
main {
  max-width: 1500px;
  margin:auto;
}

/* フッター */
footer {
  padding: 20px;
  font-size: 14px;
}

/* kv */
#kv .img_box{
  width: 67%;
}
#kv .img_box2{
  width: 40%;
  background: #8c8c8c;
}

/* about */
#about dl dt{
line-height: 2rem;
}
#about dl dd img{
  max-width: 170px;
  margin-left: 3rem;
}

/* commitment */
#commitment div dl{
  flex: 1;
  margin-right: 3%;
}
#commitment div dl dt{
  margin: 30px 0 15px;
  font-size: 1.3rem;
}
#commitment div dl dd{
  font-size: 1rem;
}
#commitment div dl dd img{
  border-radius: 8px;
}
.saucepot img {
  max-width: 150px;
}

/* menu */
#menu {
  gap: 2%;
}
#menu > div,
#menu > figure {
  flex: 1; /* 均等に分ける */
}

/* catering */
#catering {
  gap: 2%;
}
#catering > div,
#catering > figure {
  flex: 1; /* 均等に分ける */
}

/* contact */
.contact{
  margin-bottom: 80px;
  font-size: 1.4rem;
}

#company dl{
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  justify-content: center;
  margin: auto;
  text-align: start;
}
#company dl dt{
  font-weight: normal;
  width: 30%;
}
#company dl dd{
margin-bottom: .5rem;
margin-left: 0;
width: 70%;
}


.grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  height: 100vh;
}

.spices {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
}

.logo {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}

.curry-slider {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  background: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.curry-slider .ratio {
  width: 100%;
  max-width: 400px;
}

.carousel-item img {
  object-fit: contain;
}
img {
  width: 100%;
  height: auto;
  display: block;
}


@media only screen and (max-width: 900px) {
  button{
    display: block;
  }
  .header {
    position: relative;
    padding: 20px;
  }

  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border: none;
    background: #2c4c61;
    cursor: pointer;
  }

  .hamburger__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #FFF;
    transition: all .4s;
  }

  .hamburger__line:nth-of-type(1) {
    top: 14px;
  }
  .hamburger__line:nth-of-type(2) {
    top: 23px;
  }
  .hamburger__line:nth-of-type(3) {
    top: 32px;
  }

  /* メニューオープン時 */
  .hamburger.active .hamburger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger.active .hamburger__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    /* width: 300px; */
    width: 100%;
    height: 100vh;
    background-color: #2c4c61c2;
    box-shadow: 2px 0 4px rgba(0,0,0,.1);
    transform: translateX(-100%);
    transition: transform .4s;
    z-index: 90;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__list {
    margin: 0;
    padding: 100px 0 0;
    width: 90%;
    display: block;
  }

  .nav__item {
    padding: 0 20px;
  }

  .nav__link {
    display: block;
    padding: 15px 0;
    color: #FFF;
    text-align: center;
    /* text-decoration: none;
    border-bottom: 1px solid #eee; */
  }
}
@media only screen and (max-width: 756px) {
  body{
    font-size: 1rem;
  }
  .c_wrap {
    padding: 40px 20px;
  }
  .button{
    width: 80%;
  }
  .big_text {
    font-size: 1.7rem !important;
  }

  #about dl dd img{
    max-width: 100px;
    margin:0 2rem;
  }

  #commitment .d-flex {
    display: block!important;
  }
  #commitment div dl {
    margin-right: 0;
    margin-bottom: 40px;
  }
  #commitment div dl dt {
    margin: 15px 0 5px;
    font-size: 1.2rem;
  }
  #commitment .d-flex dl dd img {
    max-width: 380px;
    margin: auto;
  }

  #menu,
  #catering {
    flex-direction: column;
  }
  #menu figure {
    order: 1;
  }
  #menu div {
    order: 2;
    margin-top: 30px;
  }
  #menu div a{
    width: 100%;
  }
  #catering div {
    margin-top: 30px;
  }

  .contact{
  font-size: 1.2rem;
  }
}