/* イーデーエムの歴史とあゆみ
=========================================================================
=========================================================================*/
/* Page title
-----------------------------------------------------------*/
#page_title {
  padding: 150px 15px 56px;
}

#page_title h1 {
  overflow: visible !important;
  margin: 0 auto;
  width: fit-content;
  font-weight: 600;
  font-size: 22px;
  line-height: 1em;
  color: #000;
  text-align: center;
}

#page_title h1 span {
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 79px;
  letter-spacing: 0.03em;
  line-height: 1.5em;
  background: linear-gradient(99.85deg, #4295D0 14.7%, #2D528F 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* 1970
-----------------------------------------------------------*/
#section_1970 {
  position: relative;
  padding: 0 0 42px;
}

#section_1970::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 940px;
  width: calc(940 / 1440 * 100%);
  height: 972px;
  background-color: #EEEBEA;
}

#section_1970 .inner {
  position: relative;
  margin: 0 auto;
  max-width: 1140px;
}

@media screen and (max-width:1170px) {
  #section_1970 .inner {
    padding: 0 15px;
  }
}

#section_1970 .inner h2 {
  overflow: visible !important;
  position: absolute;
  top: 0;
  right: 51px;
  margin: 0 auto;
  width: fit-content;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 178.44px;
  line-height: 178.44px;
  letter-spacing: 0.03em;
  background: radial-gradient(113.21% 569.39% at -2.86% 6.2%, #798697 0%, #2571D4 21.78%, #3F8FE4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  z-index: 2;
}

#section_1970 .inner h2 span {
  margin-right: 27.79px;
  font-size: 65.81px;
  letter-spacing: 0.03em;
}

@media screen and (max-width:1170px) {
  #section_1970 .inner h2 {
    font-size: calc(178.44 / 1170 * 100vw);
  }

  #section_1970 .inner h2 span {
    font-size: calc(65.81 / 1170 * 100vw);
  }
}

#section_1970 .inner picture {
  display: block;
  padding-top: 66px;
  max-width: 838px;
  width: calc(838 / 1140 * 100%);
}

#section_1970 .inner .text {
  position: absolute;
  right: 51px;
  top: 265px;
  padding: 32px;
  width: calc(523 / 1140 * 100%);
  background: #FFF;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

@media screen and (max-width:1170px) {
  #section_1970 .inner .text {
    top: calc(265 / 1170 * 100vw);
  }
}

#section_1970 .inner .text h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

/* 1971 / 1983
-----------------------------------------------------------*/
#section_1971_1983 {
  position: relative;
  padding: 0 0 109px;
}

#section_1971_1983::before {
  content: '';
  position: absolute;
  top: 170px;
  right: 0;
  width: calc(852 / 1440 * 100vw);
  height: 701px;
  background-color: #F3FAFC;
}

#section_1971_1983 .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 45px;
  margin: 0 auto;
  max-width: 1140px;
}

@media screen and (max-width:1170px) {
  #section_1971_1983 .inner {
    padding: 0 15px;
  }
}

#section_1971_1983 .inner h2 {
  position: relative;
  overflow: visible !important;
  width: fit-content;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 74px;
  line-height: 74px;
  letter-spacing: 0.03em;
  color: #103C6E;
  z-index: 2;
}

@media screen and (max-width:1170px) {
  #section_1971_1983 .inner h2 {
    font-size: calc(74 / 1170 * 100vw);
  }
}

#section_1971_1983 .inner picture {
  display: block;
  margin-bottom: 16px;
}

#section_1971_1983 .inner h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

#section_1971_1983 .inner .section_1971 {
  position: relative;
  padding-left: calc(149 / 1140 * 100%);
  width: calc(536 / 1140 * 100%);
}

#section_1971_1983 .inner .section_1971 h2 {
  position: absolute;
  top: 109px;
  left: 20px;
}

#section_1971_1983 .inner .section_1983 {
  position: relative;
  padding-left: calc(122 / 1140 * 100%);
  width: calc(509 / 1140 * 100%);
}

#section_1971_1983 .inner .section_1983 picture {
  margin-top: 234px;
}

#section_1971_1983 .inner .section_1983 h2 {
  position: absolute;
  top: 339px;
  left: 0;
}

/* 1997
-----------------------------------------------------------*/
#section_1997 {
  position: relative;
  padding: 120px 0 60px;
  background-color: #E9F8FF;
}

#section_1997 .inner {
  margin: 0 auto;
  max-width: 966px;
}

@media screen and (max-width:1170px) {
  #section_1997 .inner {
    padding: 0 15px;
  }
}

#section_1997 h2 {
  overflow: visible !important;
  position: absolute;
  top: 66px;
  right: 0;
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-size: 300px;
  line-height: 370px;
  color: rgba(16, 60, 110, 0.2);
}

@media screen and (max-width:1170px) {
  #section_1997 h2 {
    font-size: calc(300 / 1170 * 100vw);
  }
}

#section_1997 .inner .text {
  margin-bottom: 88px;
  max-width: 523px;
  width: calc(523 / 966 * 100%);
}

#section_1997 .inner .text h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

#section_1997 .marquee {
  overflow: hidden;
  width: 100%;
}

#section_1997 .marquee-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

#section_1997 .marquee-track li {
  flex-shrink: 0;
  width: 358px;
}

/* 1984
-----------------------------------------------------------*/
#section_1984 {
  padding: 100px 0;
  background: url(../images/about/history_1984_bg.svg) center center no-repeat;
  background-size: 100% auto;
}

#section_1984 .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 52px;
  margin: 0 auto;
  max-width: 966px;
}

@media screen and (max-width:1170px) {
  #section_1984 .inner {
    padding: 0 15px;
  }
}

#section_1984 .inner h2 {
  overflow: visible !important;
  position: absolute;
  top: 44px;
  right: calc(70 / 966 * 100%);
  width: fit-content;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 74px;
  line-height: 74px;
  letter-spacing: 0.03em;
  color: #103C6E;
  z-index: 2;
}

@media screen and (max-width:1170px) {
  #section_1984 .inner h2 {
    font-size: calc(74 / 1170 * 100vw);
  }
}

#section_1984 .inner picture {
  width: calc(506 / 966 * 100%);
}

#section_1984 .inner .text {
  padding-top: 171px;
  width: calc(371 / 966 * 100%);
}

#section_1984 .inner .text h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

/* 2020
-----------------------------------------------------------*/
#section_2020 {
  overflow: hidden;
  position: relative;
  padding: 0;
  height: 844px;
  color: #FFF;
  background-color: #000;
}

#section_2020 .l_photo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(1045 / 1440 * 100%);
  height: 100%;
}

#section_2020 .l_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#section_2020 .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 calc(192 / 1172 * 100%);
  margin: 0 auto;
  max-width: 1172px;
  z-index: 2;
}

@media screen and (max-width:1202px) {
  #section_2020 .inner {
    padding: 0 15px;
  }
}

#section_2020 .inner .text {
  margin-top: calc(308 / 1172 * 100%);
  width: calc(480 / 1172 * 100%);
}

#section_2020 .inner .text h2 {
  margin-bottom: 58px;
  width: fit-content;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 138px;
  line-height: 138px;
  letter-spacing: 0.03em;
}

@media screen and (max-width:1202px) {
  #section_2020 .inner .text h2 {
    font-size: calc(130 / 1202 * 100vw);
  }
}

#section_2020 .inner .text h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

#section_2020 .marquee {
  overflow: hidden;
  position: relative;
  width: calc(430 / 1172 * 100%);
  height: 844px;
}

#section_2020 .marquee-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

#section_2020 .marquee-track li {
  flex-shrink: 0;
}

/* LOGO
-----------------------------------------------------------*/
#section_logo {
  padding: 80px 0;
}

#section_logo .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 60px;
  margin: 0 auto;
  max-width: 1000px;
}

@media screen and (max-width:1030px) {
  #section_logo .inner {
    padding: 0 15px;
  }
}

#section_logo .inner picture {
  display: block;
  width: calc(358 / 1000 * 100%);
}

#section_logo .inner .text {
  width: calc(350 / 1000 * 100%);
}

#section_logo .inner .text h3 {
  margin-bottom: 32px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

/* 50th
-----------------------------------------------------------*/
#section_50th .title {
  padding: 140px 0;
  color: #FFF;
  background-color: #2D5AC1;
}

#section_50th .title .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 970px;
}

@media screen and (max-width:1000px) {
  #section_50th .title .inner {
    padding: 0 15px;
  }
}

#section_50th .title .inner h2 {
  width: calc(415 / 970 * 100%);
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1em;
  letter-spacing: -0.02em;
  text-align: center;
}

#section_50th .title .inner h2 img {
  margin-bottom: 25px;
}

#section_50th .title .inner p {
  width: calc(495 / 970 * 100%);
}

#section_50th .content {
  padding: 90px 0 80px;
  color: #FFF;
  background-color: #2553A3;
}

#section_50th .content h3 {
  margin-bottom: 72px;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
}

#section_50th .content .marquee {
  overflow: hidden;
  width: 100%;
}

#section_50th .content .marquee-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

#section_50th .content .marquee-track li {
  flex-shrink: 0;
  width: 438px;
}

#section_50th .content .inner {
  margin: 80px auto 0;
  max-width: 830px;
}

#section_50th .content .inner h4 {
  margin-bottom: 16px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.57em;
}

#section_50th .content .inner p:not(:last-of-type) {
  margin-bottom: 2em;
}

@media screen and (max-width:860px) {
  #section_50th .content .inner {
    padding: 0 15px;
  }
}

/* 2025
-----------------------------------------------------------*/
#section_2025 {
  padding: 100px 0 195px;
}

#section_2025 .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 866px;
}

@media screen and (max-width:896px) {
  #section_2025 .inner {
    padding: 0 15px;
  }
}

#section_2025 .inner .text {
  width: calc(399 / 866 * 100%);
}

#section_2025 .inner .text h2 {
  overflow: visible !important;
  margin-bottom: 48px;
  width: fit-content;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 74px;
  line-height: 74px;
  letter-spacing: 0.03em;
  color: #103C6E;
}

@media screen and (max-width:1202px) {
  #section_2025 .inner .text {
    font-size: calc(74 / 1202 * 100vw);
  }
}

#section_2025 .inner .text h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.53em;
  letter-spacing: -0.02em;
}

#section_2025 .inner picture {
  display: block;
  margin: 46px 0 20px;
  width: calc(412 / 866 * 100%);
}

#section_2025 .inner p {
  margin-bottom: 103px;
  width: 100%;
}

#section_2025 .inner h4 {
  text-align: left;
  margin: 0 auto;
  width: fit-content;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.66em;
  color: #103C6E;
}

/*  スマホ（767px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
  /* Page title
  -----------------------------------------------------------*/
  #page_title {
    padding: 112px 15px 43px;
  }

  #page_title h1 {
    font-size: 22px;
  }

  #page_title h1 span {
    font-size: 32px;
  }

  /* 1970
  -----------------------------------------------------------*/
  #section_1970 {
    padding: 0 0 40px;
    background-color: #EEEBEA;
  }

  #section_1970::before {
    display: none;
  }

  #section_1970 .inner {
    padding: 0;
  }

  #section_1970 .inner h2 {
    right: 0;
    left: 0;
    margin: 0 autos;
    font-size: 102.2px;
    line-height: 102.2px;
  }

  #section_1970 .inner h2 span {
    margin-right: 19.15px;
    font-size: 37.69px;
  }

  #section_1970 .inner picture {
    padding-top: 76px;
    width: 100%;
  }

  #section_1970 .inner .text {
    position: relative;
    right: 0;
    left: 0;
    top: -15px;
    margin: 0 auto;
    padding: 32px 26px;
    width: calc(100% - 30px);
  }

  #section_1970 .inner .text h3 {
    font-size: 23px;
  }

  #section_1970 .inner .text p {
    font-size: 14px;
    line-height: 1.714em;
  }

  /* 1971 / 1983
  -----------------------------------------------------------*/
  #section_1971_1983 {
    padding: 0;
  }

  #section_1971_1983::before {
    display: none;
  }

  #section_1971_1983 .inner h2 {
    font-size: 60px;
    line-height: 0.75em;
  }

  #section_1971_1983 .inner h3 {
    font-size: 23px;
  }

  #section_1971_1983 .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  #section_1971_1983 .inner .section_1971 {
    padding: 26px 0 29px;
    width: 100%;
  }

  #section_1971_1983 .inner .section_1971 h2 {
    position: relative;
    top: auto;
    left: auto;
  }

  #section_1971_1983 .inner .section_1983 {
    padding: 28px 0 33px;
    width: 100%;
    background-color: #F3FAFC;
  }

  #section_1971_1983 .inner .section_1983 picture {
    margin-top: 0;
  }

  #section_1971_1983 .inner .section_1983 h2 {
    position: relative;
    top: auto;
    left: 0;
  }

  /* 1997
  -----------------------------------------------------------*/
  #section_1997 {
    padding: 13px 0 46px;
    background: linear-gradient(to bottom,
          #FFF 0,
          #FFF 137px,
          #E9F8FF 137px,
          #E9F8FF 100%);
  }

  #section_1997 h2 {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 0 28px 15px;
    font-size: 157.23px;
    line-height: 157.23px;
  }

  #section_1997 .inner .text {
    margin-bottom: 16px;
    width: 100%;
  }

  #section_1997 .inner .text h3 {
    font-size: 23px;
  }

  #section_1997 .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  #section_1997 .marquee-track li {
    width: 227px;
  }

  /* 1984
  -----------------------------------------------------------*/
  #section_1984 {
    padding: 85px 0 122px;
    background: url(../images/about/history_1984_bg.svg) center bottom 59px no-repeat;
    background-size: calc(572 / 390 * 100vw) auto;
  }

  #section_1984 .inner {
    padding: 0;
  }

  #section_1984 .inner h2 {
    position: absolute;
    top: -49px;
    right: auto;
    left: 26px;
    font-size: 60px;
    line-height: 60px;
  }

  #section_1984 .inner picture {
    width: 100%;
  }

  #section_1984 .inner .text {
    padding: 32px 15px 0;
    width: 100%;
  }

  #section_1984 .inner .text h3 {
    font-size: 23px;
  }

  #section_1984 .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  /* 2020
  -----------------------------------------------------------*/
  #section_2020 {
    padding: 0 0 70px;
    height: auto;
  }

  #section_2020 .l_photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }

  #section_2020 .inner {
    padding: 0;
  }

  #section_2020 .inner .text {
    margin-top: 273px;
    padding: 0 15px 80px;
    width: 100%;
  }

  #section_2020 .inner .text h2 {
    margin: 0 auto 20px;
    font-size: 96px;
    line-height: 96px;
  }

  #section_2020 .inner .text h3 {
    font-size: 23px;
  }

  #section_2020 .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  #section_2020 .marquee {
    width: 100%;
    height: auto;
  }

  #section_2020 .marquee-track {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  #section_2020 .marquee-track li {
    width: 256px;
  }

  /* LOGO
  -----------------------------------------------------------*/
  #section_logo .inner {
    gap: 32px 0;
  }

  #section_logo .inner picture {
    width: 100%;
  }

  #section_logo .inner .text {
    width: 100%;
  }

  #section_logo .inner .text h3 {
    margin-bottom: 16px;
    font-size: 23px;
  }

  #section_logo .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  /* 50th
  -----------------------------------------------------------*/
  #section_50th .title {
    padding: 64px 0 80px;
  }

  #section_50th .title .inner {
    gap: 32px;
  }

  #section_50th .title .inner h2 {
    width: 100%;
    font-size: 23px;
  }

  #section_50th .title .inner h2 img {
    margin-bottom: 16px;
  }

  #section_50th .title .inner p {
    width: 100%;
    font-size: 14px;
    line-height: 1.714em;
  }

  #section_50th .content {
    padding: 80px 0 60px;
  }

  #section_50th .content h3 {
    margin-bottom: 40px;
    font-size: 23px;
    line-height: 1.5em;
  }

  #section_50th .content .marquee-track li {
    width: 268px;
  }

  #section_50th .content .inner {
    margin: 32px auto 0;
  }

  #section_50th .content .inner h4 {
    font-size: 22px;
  }

  #section_50th .content .inner p {
    font-size: 14px;
    line-height: 1.714em;
  }

  /* 2025
  -----------------------------------------------------------*/
  #section_2025 {
    padding: 60px 0 100px;
  }

  #section_2025 .inner .text {
    width: 100%;
  }

  #section_2025 .inner .text h2 {
    margin: 0 15px 10px;
    font-size: 60px;
    line-height: 60px;
  }

  #section_2025 .inner .text h3 {
    font-size: 22px;
  }

  #section_2025 .inner picture {
    margin: 0 0 20px;
    width: 100%;
  }

  #section_2025 .inner p {
    margin-bottom: 78px;
    font-size: 14px;
    line-height: 1.714em;
  }

  #section_2025 .inner h4 {
    display: block;
  }

  #section_2025 .inner h4 span:first-child {
    display: block;
    margin: 0 0 26px;
  }

  #section_2025 .inner h4 span:last-child {
    display: block;
    width: 100%;
    font-size: 23px;
  }


}

/*  スマホ（400px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:400px) {
  /* 1970
  -----------------------------------------------------------*/
  #section_1970 .inner h2 {
    font-size: calc(102.2 / 390 * 100vw);
  }

  #section_1970 .inner h2 span {
    font-size: calc(37.69 / 390 * 100vw);
  }

  #section_1970 .inner .text h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* 1971 / 1983
  -----------------------------------------------------------*/
  #section_1971_1983 .inner h2 {
    font-size: calc(60 / 390 * 100vw);
  }

  #section_1971_1983 .inner h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* 1997
  -----------------------------------------------------------*/
  #section_1997 h2 {
    font-size: calc(157.23 / 390 * 100vw);
  }

  #section_1997 .inner .text h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* 1984
  -----------------------------------------------------------*/
  #section_1984 .inner h2 {
    font-size: calc(60 / 390 * 100vw);
  }

  #section_1984 .inner .text h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* 2020
  -----------------------------------------------------------*/
  #section_2020 .inner .text h2 {
    font-size: calc(96 / 390 * 100vw);
  }

  #section_2020 .inner .text h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* LOGO
  -----------------------------------------------------------*/
  #section_logo .inner .text h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  /* 50th
  -----------------------------------------------------------*/
  #section_50th .title .inner h2 {
    font-size: calc(23 / 390 * 100vw);
  }

  #section_50th .content h3 {
    font-size: calc(23 / 390 * 100vw);
  }

  #section_50th .content .inner h4 {
    font-size: calc(21 / 390 * 100vw);
  }

  /* 2025
  -----------------------------------------------------------*/
  #section_2025 .inner .text h2 {
    font-size: calc(60 / 390 * 100vw);
  }

  #section_2025 .inner .text h3 {
    font-size: calc(21 / 390 * 100vw);
  }

  #section_2025 .inner h4 span:last-child {
    font-size: calc(22 / 390 * 100vw);
  }

}
