@charset "utf-8";

/** ***************************************************************************
 * 紹介文
 * ************************************************************************* */

#lead  {
  text-align: justify;
  text-justify: inter-character;
}

#lead .catchcopy {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  color: rgba(var(--accentcolor-marutsu-1));
  font-size: 1.143em;
  font-weight: 600;
}

@media screen and (min-width:768px) {

  #lead  {
    width: 46em;
    margin-left: auto;
    margin-right: auto;
  }

  #lead .catchcopy {
    font-size: 1.5em;
  }

}

/** ***************************************************************************
 * オンライン販売事業
 * ************************************************************************* */

#online div.contents {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #online div.contents {
    padding-left: 52%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    z-index: 0;
  }

}

/**
 * 内容
 */

#online div.content  {
  text-align: justify;
  text-justify: inter-character;
}

@media screen and (min-width:768px) {

  #online div.content {
    width: 100%;
  }

}

/* テキスト */

#online div.content div.text .title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.25em 0.75em;
  color: #fff;
  font-size: 1.143em;
  font-weight: 500;
  background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
}

#online div.content div.text .catchcopy {
  margin-bottom: 0.5em;
  font-size: 1.143em;
  font-weight: 600;
}

#online div.content div.text .catchcopy + * {
  margin-top: 0;
}

@media screen and (min-width:768px) {

  #online div.content div.text .title {
    margin-left: 0;
    padding: 0.125em 0.75em;
    font-size: 1.25em;
  }

}

/* ボタン */

#online div.content div.button {
  text-align: center;
}

#online div.content div.button em {
  margin-bottom: 0.5em;
  color: rgb(var(--accentcolor-marutsu-1));
  font-weight: 500;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #online div.content div.button {
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
  }

}

/**
 * 画像
 */

#online div.image {
  height: 70vw;
  max-height: 300px;
  margin-bottom: 20px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  order: -1;
}

@media screen and (min-width:768px) {

  #online div.image {
    max-width: none;
    width: 50vw;
    height: 100%;
    max-height: 100%;
    margin-bottom: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(50% - 2% - 50vw);
  }

}

/** ***************************************************************************
 * DigiKey販売事業
 * ************************************************************************* */

/**
 * 内容
 */

#digiKey div.content  {
  text-align: justify;
  text-justify: inter-character;
}

#digiKey div.content .title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.25em 0.75em;
  color: #fff;
  font-size: 1.143em;
  font-weight: 500;
  background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
}

#digiKey div.content .catchcopy {
  font-size: 1.143em;
  font-weight: 600;
}

@media screen and (min-width:768px) {

  #digiKey div.content {
    width: 46em;
    margin-left: auto;
    margin-right: auto;
  }

  #digiKey div.content .title {
    padding: 0.125em 0.75em;
    font-size: 1.25em;
  }

}

/**
 * 画像
 */

#digiKey div.image {
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
}

/* ▼▼▼ ここから追記部分（ボタンの中央寄せ対策） ▼▼▼ */

#digiKey div.button {
  text-align: center;
  margin-top: 1.5em;
}

#digiKey div.button em {
  display: block;
  margin-bottom: 0.5em;
  color: rgb(var(--accentcolor-marutsu-1));
  font-weight: 500;
}

#digiKey .button-style-2 {
  margin: 0 auto;
}

/* ▲▲▲ 追記ここまで ▲▲▲ */

/** ***************************************************************************
 * 試作・量産事業
 * ************************************************************************* */

#prototype div.contents {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #prototype div.contents {
    padding-right: 52%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    z-index: 0;
  }

}

/**
 * 内容
 */

#prototype div.content  {
  text-align: justify;
  text-justify: inter-character;
}

@media screen and (min-width:768px) {

  #prototype div.content {
    width: 100%;
  }

}

/* テキスト */

#prototype div.content div.text .title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.25em 0.75em;
  color: #fff;
  font-size: 1.143em;
  font-weight: 500;
  background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
}

#prototype div.content div.text .catchcopy {
  margin-bottom: 0.25em;
  font-size: 1.143em;
  font-weight: 600;
}

#prototype div.content div.text .catchcopy + * {
  margin-top: 0;
}

@media screen and (min-width:768px) {

  #prototype div.content div.text .title {
    margin-left: 0;
    padding: 0.125em 0.75em;
    font-size: 1.25em;
  }

}

/* ボタン */

#prototype div.content div.button {
  text-align: center;
}

#prototype div.content div.button em {
  margin-bottom: 0.5em;
  color: rgb(var(--accentcolor-marutsu-1));
  font-weight: 500;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #prototype div.content div.button {
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
  }

}

/**
 * 画像
 */

#prototype div.image {
  height: 70vw;
  max-height: 300px;
  margin-bottom: 20px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  order: -1;
}

@media screen and (min-width:768px) {

  #prototype div.image {
    max-width: none;
    width: 50vw;
    height: 100%;
    max-height: 100%;
    margin-bottom: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(50% + 2%);
  }

}

/** ***************************************************************************
 * 法人事業
 * ************************************************************************* */

#corporate div.content  {
  text-align: justify;
  text-justify: inter-character;
}

#corporate div.content .title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.25em 0.75em;
  color: #fff;
  font-size: 1.143em;
  font-weight: 500;
  background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
}

@media screen and (min-width:768px) {

  #corporate div.content {
    width: 46em;
    margin-left: auto;
    margin-right: auto;
  }

  #corporate div.content .title {
    padding: 0.125em 0.75em;
    font-size: 1.25em;
  }

}

/* ==========================================================
   法人営業ボタン中央寄せ＆フッターとの余白調整
   ========================================================== */

#corporate div.button {
  text-align: center;       /* ボタン中央寄せ */
  margin-top: 1.5em;        /* 上に少し余白 */
  margin-bottom: 3em;       /* フッターとの距離を確保 */
}

#corporate div.button .button-style-2 {
  margin: 0 auto;           /* インラインブロックボタンを中央寄せ */
  display: inline-block;    /* 念のためブロック化を防止 */
}