@charset "utf-8";

/*------------------------------------------------------------
1. リセット
-------------------------------------------------------------*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}
html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px; /* 基本フォントサイズ */
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

table {
  border-collapse: collapse;
}

/*------------------------------------------------------------
2. CSS変数 (カラー・フォント等の定数管理)
-------------------------------------------------------------*/
:root {
  --color-text-main: #444;
  --color-main: #3368a0;
  --color-sub-1: #66a3bf;
  --color-sub-2: #c8dfdb;
  --color-sub-3: #f2efe7;
  --font-size-base: 16px;
  --font-size-20: 20px;
  --font-size-32: 32px;
  --font-size-36: 36px;
  --font-size-42: 42px;
  --font-size-50: 50px;
}


/*------------------------------------------------------------
3. 基本設定
-------------------------------------------------------------*/
body {
  background-color: #fff;
  color: var(--color-text-main);
  font-size: var(--font-size-base);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Meiryo", sans-serif;
}

/* 汎用フォントサイズクラス */
.fz-base { font-size: var(--font-size-base); }
.fz-20   { font-size: var(--font-size-20); }
.fz-32   { font-size: var(--font-size-32); }
.fz-36   { font-size: var(--font-size-36); }
.fz-42   { font-size: var(--font-size-42); }
.fz-50   { font-size: var(--font-size-50); }

/* 汎用フォントカラークラス */
.fc-main { color: var(--color-main); }

main a:not(.btn-gradient),
main a:not(.btn-gradient):visited {
  color: var(--color-main);
  text-decoration: underline;
  transition: all 0.3s ease;
}

main a:not(.btn-gradient):hover,
main a:not(.btn-gradient):active {
  color: var(--color-sub-1);
  font-weight: 700;
}

section {
  padding: 4rem 0 4rem;
}
p {
  text-align: justify;
}

h2 {
  font-family: "Noto Sans JP", sans-serif;
}

/*------------------------------------------------------------
4. ボタンパーツ
-------------------------------------------------------------*/
a.btn-gradient {
  align-items: center;
  background-color: var(--color-main);
  background: linear-gradient(to right, var(--color-main), var(--color-sub-1));
  border: none;
  border-radius: 1em;
  color: #fff;
  display: inline-flex;
  font-weight: bold;
  height: 2em;
  justify-content: center;
  line-height: 2em;
  overflow: hidden;
  margin: 0 2px 0 0;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

a.btn-gradient:hover {
  margin: 0 0 0 2px;
}

/*------------------------------------------------------------
5. レイアウトパーツ
-------------------------------------------------------------*/
.contents {
  margin: 0 auto;
  max-width: 1000px;
  width: 90%;
}

.fbox_sb {
  display: flex;
  justify-content: space-between;
}

/*------------------------------------------------------------
6. header footer
-------------------------------------------------------------*/
header {
  border-bottom: 2px solid #eee;
  padding: 5px 0;
}

header .fbox_sb {
  align-items: center;
  height: 100px;
}
.logo {
  position: relative;
}
.logo::before {
  color: #666;
  content: "EU包装規則";
  display: block;
  font-size: 1rem;
  left: 0;
  position: absolute;
  top: -10px;
}
.logo span {
  color: var(--color-main);
}



/*footer*/
/*-----------------------------------------------------------*/
footer {
  background: #222;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

footer .contents {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 1em 0;
}

.footer-nav__menu ul,
.footer-nav__menu li {
  display: inline-block;
}
.footer-nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav__menu li + li {
  margin-left: 1em;
}

footer img {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}



/*------------------------------------------------------------
7. HOME
-------------------------------------------------------------*/

/*main*/
/*-----------------------------------------------------------*/
.main {
  background: url(../img/sub.png) 0 75% no-repeat;
  margin-bottom: 6rem;
  position: relative;
}
.main::before {
  background: url(../img/main.png) 100% -50px no-repeat;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.main h2 {
  font-size: var(--font-size-50);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.catch-copy {
  padding-top: 2em;
  margin-bottom: 14em;
}
.catch-copy p {
  width: 55%;
}

/* --- 横並び1 (1/4 : 1/4 : 1/2 の 3カラム) --- */
.grid-layout-1 {
  display: grid;
  grid-template-columns: 28fr 28fr 44fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid-layout-1 .col-1-4,
.grid-layout-1 .col-1-2 {
  background-color: #fff;
  box-shadow: 0 0 8px #999;
  padding: 20px;
}

.grid-layout-1 li {
  background-position: calc(100% - 20px) 20px;
  background-repeat: no-repeat;
}
.grid-layout-1 li:first-child {
  background-image: url(../img/pic01-1.png);
}
.grid-layout-1 li:nth-child(2) {
  background-image: url(../img/pic01-2.png);
}
.grid-layout-1 li:last-child {
  background-image: url(../img/pic01-3.png);
}


/*before-after*/
/*-----------------------------------------------------------*/
.before-after h2 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

ul.grid-layout-3 {
  counter-reset: my-counter;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  margin: 2em 0 0;
  padding: 0;
}

ul.grid-layout-3 li {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 8px var(--color-sub-2);
  counter-increment: my-counter;
  padding: 20px;
}
.element,
.box_bfaf {
  display: flex;
  gap: 1em;
}
.element {
  align-items: center;
}

ul.grid-layout-3 li .element::before {
  content: counter(my-counter, decimal-leading-zero) " ";
  font-weight: bold;
  color: var(--color-sub-1);
  font-size: var(--font-size-36);
  margin-right: 8px;
}

ul.grid-layout-3 strong {
  color: var(--color-sub-1);
}
ul.grid-layout-3 strong::before {
  background-position: 0 0;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
  width: 40px;
}
ul.grid-layout-3 .bfaf01 strong::before {
  background-image: url(../img/pic04-1.png);
}
ul.grid-layout-3 .bfaf02 strong::before {
  background-image: url(../img/pic04-2.png);
}
ul.grid-layout-3 .bfaf03 strong::before {
  background-image: url(../img/pic04-3.png);
}
ul.grid-layout-3 .bfaf04 strong::before {
  background-image: url(../img/pic04-4.png);
}
ul.grid-layout-3 .bfaf05 strong::before {
  background-image: url(../img/pic04-5.png);
}


.start-time {
  background: var(--color-sub-1);
  border-radius: 1em;
  color: #fff;
  font-size: var(--font-size-20);
  font-weight: 700;
  line-height: 1.2;
  margin-left: auto;
  padding: .25em 1em;
}
.start-time span {
  font-size: 13px;
  font-weight: normal;
}

.start-time.started {
  background: #fc8160;
}
.start-time.started span {
  background: #fff;
  border-radius: 1em;
  color: #fc8160;
  display: inline-block;
  font-weight: 700;
  padding: 2px 9px;
}

.grid-layout-3 h3 {
  color: var(--color-main);
  font-size: var(--font-size-20);
  margin: 1em 0;
}

.box_bfaf > span {
  align-self: center;
}

.box_before,
.box_after {
  border-radius: 10px;
  padding: .5em 1em;
  width: calc((100% - 3em) / 2);
}

.box_before {
  background: #f6f6f6;
}
.box_after {
  background-color: color-mix(in srgb, var(--color-main) 10%, transparent);
}

.box_before::before {
  content: "Before";
  color: #666;
}
.box_after::before {
  content: "After";
  color: var(--color-main);
}
.box_before::before,
.box_after::before {
  display: block;
  font-weight: bold;
}

/*challenges4*/
/*-----------------------------------------------------------*/
.challenges4 {
  background: var(--color-sub-3);
}

.tit_challenges4 {
  font-size: 48px;
}
.tit_challenges4 .fc-main {
  font-size: 60px;
}

/* --- 横並び2 (縦2 横2 の 2×2 グリッド) --- */
.grid-layout-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid-layout-2 .grid-item {
  background-color: #fff;
  box-shadow: 0 0 4px #eee;
  padding: 20px;
}

ul.grid-layout-2 strong {
  font-size: var(--font-size-20);
}

 
.grid-layout-2 li.grid-item {
  background-position: 20px 50%;
  background-repeat: no-repeat;
  padding-left: 120px;
}
.grid-layout-2 li.item01 {
  background-image: url(../img/pic02-1.png);
}
.grid-layout-2 li.item02 {
  background-image: url(../img/pic02-2.png);
}
.grid-layout-2 li.item03 {
  background-image: url(../img/pic02-3.png);
  background-position: 30px 50%;
}
.grid-layout-2 li.item04 {
  background-image: url(../img/pic02-4.png);
}

/*company-profile*/
/*-----------------------------------------------------------*/
.company-profile h2 {
  margin-bottom: 1rem;
}
.vertical-item h3 {
  margin: 5px 0 1rem;
}

/* --- 縦並び (2ブロック) --- */
.vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vertical-layout .vertical-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 8px var(--color-sub-2); /* #c8dfdb の8pxぼかし */
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.vertical-item p + p {
  margin-top: 1em;
}

.imgbox_nittsu-necl {
  width: 378px;
}
.txtbox_jbl-jp {
  width: calc(100% - 490px - 25px);
}
.imgbox_jbl-jp {
  width: 490px;
}

/*correspondence*/
/*-----------------------------------------------------------*/
.correspondence {
  background: url(../img/bg01.png) 0 100% no-repeat;
}
section.correspondence {
  padding-bottom: 6rem;
}

.boxcrsp {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}

.point {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 8px var(--color-sub-2); /* #c8dfdb の8pxぼかし */
  padding: 20px;
  width: 48%;
}

.list_pont {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list_pont li {
  background-position: 0 50%;
  background-repeat: no-repeat;
  display: block;
  padding-left: 75px;
}
.list_pont li + li {
  margin-top: 1.5em;
}

.list_pont li:first-child {
  background-image: url(../img/pic03-1.png);
}
.list_pont li:nth-child(2) {
  background-image: url(../img/pic03-2.png);
}
.list_pont li:last-child {
  background-image: url(../img/pic03-3.png);
}


/*seminar*/
/*-----------------------------------------------------------*/
.seminar {
  background: var(--color-sub-3);
}
.txt_seminar {
  display: block;
  margin: 1em auto 3rem;
  width: 70%;
}
.box_seminar {
  background: #fff;
  border-radius: 1em;
  padding: 2em;
}
.list_seminar {
  list-style: none;
  margin: 0 0 3em 0;
  padding: 0;
}

.list_seminar li {
  display: flex;
  gap: 20px;
}
.list_seminar li + li {
  margin-top: 1.5em;
}

.seminar_date {
  align-items: center;
  background: var(--color-sub-2);
  display: flex;
  font-size: var(--font-size-20);
  justify-content: center;
  padding: 0 .5em;
}
.seminar_info p {
  margin-top: .5em;
}
.seminar_info p span {
  background: #eee;
  color: #666;
  display: inline-block;
  font-size: 13px;
  padding: 0 .25em;
}

.box_seminar .readmore {
  text-align: center;
}

/*------------------------------------------------------------
8. スマホ表示向けの調整
-------------------------------------------------------------*/
@media (max-width: 767px) {
  .grid-layout-1 {
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
  }
  .grid-layout-1 .col-1-4,
  .grid-layout-1 .col-1-2 {
    width: 100%;
  }
  .grid-layout-2 {
    grid-template-columns: 1fr;
  }
}


@media screen and (max-width: 959px) {
  header .fbox_sb {
    display: block;
    height: auto;
  }
  header .btn-gradient {
    margin: 0 0 0 auto;
  }
  .catch-copy p,
  .txtbox_nittsu-necl,
  .imgbox_nittsu-necl,
  .txtbox_jbl-jp,
  .imgbox_jbl-jp,
  .boxcrsp,
  .point {
    width: auto;
  }
  .main::before,
  .main {
    background-image: none;
  }
  .catch-copy {
    margin-bottom: 2em;
  }
  .vertical-layout .vertical-item,
  .boxcrsp,
  footer .contents {
    flex-direction: column;
    gap: 1em;
  }
  .boxcrsp {
    margin-bottom: 14em;
  }
}
