@charset "utf-8";



/* ===== 背景 ===== */

.stage.is-toppage {
  background-image:
    url("/assets/images/top/stage-bg-top-family.png"),
    url("/assets/images/top/stage-bg-top-items-ct.png"),
    url("/assets/images/top/stage-bg-top-items-lt.png"),
    url("/assets/images/top/stage-bg-top-items-rt.png"),
    url("/assets/images/top/stage-bg-top-items-lm.png"),
    url("/assets/images/top/stage-bg-top-items-rm.png"),
    url("/assets/images/top/stage-bg-top-near.png"),
    url("/assets/images/top/stage-bg-top-cafe.png"),
    url("/assets/images/top/stage-bg-top-far.png"),
    url("/assets/images/top/stage-bg-top-bird-small.png"),
    url("/assets/images/top/stage-bg-top-bird-big.png"),
    url("/assets/images/top/stage-bg-top-sky.png");
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;
  background-size:
   420px 270px,
   210px 250px,
   460px 430px,
   570px 550px,
   450px 650px,
   450px 850px,
   1920px 1000px,
   300px 300px,
   1920px 300px,
   58px 55px,
   93px 59px,
   1920px 800px;
  background-position:
    540px 365px,
    768px 220px,
    left 330px,
    right 0,
    left 750px,
    right 550px,
    center 0,
    455px 200px,
    center 250px,
    1240px 115px,
    1290px 30px,
    center 0;
  background-attachment: scroll;
}

@media(max-width:1920px) { /* 画面幅1920px以下の場合 */
.stage.is-toppage {
  background-position:
    calc( 545px - ( ( 1920px - 100vw ) * 0.5 ) ) 365px,
    calc( 768px - ( ( 1920px - 100vw ) * 0.5 ) ) 220px,
    calc( 0px - ( ( 1920px - 100vw ) * 0.5 ) ) 330px,
    calc( 1350px - ( ( 1920px - 100vw ) * 0.5 ) ) 0,
    calc( 0px - ( ( 1920px - 100vw ) * 0.5 ) ) 750px,
    calc( 1470px - ( ( 1920px - 100vw ) * 0.5 ) ) 550px,
    center 0,
    calc( 455px - ( ( 1920px - 100vw ) * 0.5 ) ) 200px,
    center 250px,
    calc( 1240px - ( ( 1920px - 100vw ) * 0.5 ) ) 115px,
    calc( 1290px - ( ( 1920px - 100vw ) * 0.5 ) ) 30px,
    center 0;
}
}

@media(max-width:1152px) { /* 画面幅1152px以下の場合 */
.stage.is-toppage {
  background-position:
    calc( 161px - ( ( 1152px - 100vw ) * 0.25 ) ) 365px ,
    calc( 384px - ( ( 1152px - 100vw ) * 0.2 ) ) 220px,
    calc( -384px - ( ( 1152px - 100vw ) * 0.2 ) ) 330px ,
    calc( 966px - ( ( 1152px - 100vw ) * 0.3 ) ) 0 ,
    calc( -384px - ( ( 1152px - 100vw ) * 0.25 ) ) 750px ,
    calc( 1086px - ( ( 1152px - 100vw ) * 0.25 ) ) 550px ,
    center 0,
    calc( 71px - ( ( 1152px - 100vw ) * 0.2 ) ) 200px,
    calc( -384px - ( ( 1152px - 100vw ) * 0.25 ) ) 250px ,
    calc( 856px - ( ( 1152px - 100vw ) * 0.3 ) ) 115px,
    calc( 906px - ( ( 1152px - 100vw ) * 0.3 ) ) 30px,
    calc( -384px - ( ( 1152px - 100vw ) * 0.5 ) ) 0;
}
}

@media(max-width:768px) { /* 画面幅768px以下の場合 */
.stage.is-toppage {
  background-image:
    url("/assets/images/top/stage-bg-top-family.png"),
    url("/assets/images/top/stage-bg-top-items-ct.png"),
    url("/assets/images/top/stage-bg-top-items-lt.png"),
    url("/assets/images/top/stage-bg-top-items-rt.png"),
    url("/assets/images/top/stage-bg-top-near.png"),
    url("/assets/images/top/stage-bg-top-cafe.png"),
    url("/assets/images/top/stage-bg-top-far.png"),
    url("/assets/images/top/stage-bg-top-bird-small.png"),
    url("/assets/images/top/stage-bg-top-bird-big.png"),
    url("/assets/images/top/stage-bg-top-sky.png");
  background-size:
   189px 122px,
   140px 167px,
   230px 215px,
   285px 275px,
   768px 450px,
   150px 150px,
   768px 160px,
   39px 33px,
   62px 40px,
   1152px 480px;
  background-position:
    calc( 245px - ( ( 768px - 100vw ) * 0.5 ) ) 370px ,
    calc( 395px - ( ( 768px - 100vw ) * 0.3 ) ) 270px ,
    calc( -70px - ( ( 768px - 100vw ) * 0.25 ) ) 300px,
    calc( 570px - ( ( 768px - 100vw ) * 0.5 ) ) 190px ,
    center 220px,
    calc( 170px - ( ( 768px - 100vw ) * 0.3 ) ) 290px,
    calc( 0px - ( ( 768px - 100vw ) * 0.3 ) ) 290px,
    calc( 115px - ( ( 768px - 100vw ) * 0.25 ) ) 30px,
    calc( 620px - ( ( 768px - 100vw ) * 0.8 ) ) 100px,
    calc( -200px - ( ( 768px - 100vw ) ) ) -20px;
}
}

@media(max-width:375px) { /* 画面幅375px以下の場合 */
.stage.is-toppage {
  background-position:
    48px 370px,
    264px 270px,
    -168px 300px,
    374px 190px,
    center 220px,
    39px 290px,
    -131px 290px,
    17px 30px,
    293px 100px,
    -593px -20px;
}
}

.stage.is-toppage { /* 背景色は最後に設定 */
  background-color: #387F8A;
}



/* ===== ヘッダ ===== */

.header {
  position: relative;
  min-height: 175px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header {
  min-height: auto;
}
}

.header__top-title {
  display: block;
  position: absolute;
  top: 0;
  left: 18px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header__top-title {
  position: relative;
  left: auto;
  text-align: center;
}
}

.header__title-link {
  display: block;
  z-index: 9900;
}
@media(min-width:769px) { /* 画面幅769px以上の場合 */
.header__title-link:hover {
  cursor: pointer;
}
}

.header__title-link:focus {
  box-shadow: none;
}
.header__title-link:focus .header__top-title-logo {
  box-shadow: 0 0 3px 3px rgba(0,0,0,.5);
}

.header__top-title-logo {
  width: 263px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header__top-title-logo {
  position: relative;
  width: 200px;
}
}

.header__top-message {
  padding-top: 60px;
  padding-left: 300px;
  padding-right: 300px;
}
@media(max-width:1152px) { /* 画面幅1152px以下の場合 */
.header__top-message {
  padding-right: calc( 300px - ( 1152px - 100% ) );
}
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header__top-message {
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
}
}

.header__top-message-here {
  font-size: 2.4rem;
  line-height: 1.0em;
  text-align: center;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header__top-message-here {
  font-size: 1.8rem;
  line-height: 1.5;
}
}

.header__top-message-guide {
  margin-top: 16px;
  font-size: 3.5rem;
  color: #004098;
  font-weight: bold;
  line-height: 1.0em;
  text-align: center;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.header__top-message-guide {
  font-size: 2.6rem;
}
}



/* ===== main ===== */

.main.is-toppage {
  position: relative;
  padding-top: 0;
  background: url('/assets/images/top/img-tanamin.gif') no-repeat;
  background-size: 320px 320px;
  background-position: 1000px 50px;
}
@media(max-width:1920px) { /* 画面幅1920px以下の場合 */
.main.is-toppage {
  background-position: calc( 1000px - ( ( 1920px - 100vw ) * 0.5 ) ) 50px;
}
}
@media(max-width:1152px) { /* 画面幅1152px以下の場合 */
.main.is-toppage {
  background-position: calc( 650px - ( ( 1200px - 100vw ) * 0.3 ) ) 50px;
}
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.main.is-toppage {
  background-position: calc( 410px - ( ( 768px - 100vw ) * 0.6 ) ) 85px;
  background-size: 240px 240px;
}
}
@media(max-width:375px) { /* 画面幅375px以下の場合 */
.main.is-toppage {
  background-position: 165px 85px;
}
}



/* ===== news ===== */

.news {
  position: relative;
  padding-top: 15px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news {
  position: relative;
  padding-top: 330px;
}
}

.news__bird {
  position: absolute;
  top: -18px;
  left: 15px;
  width: 75px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__bird {
  top: 310px;
  left: auto;
  right: 15px;
}
}

.news__list {
  position: relative;
  padding: 14px;
  background-color: #fff;
  border-radius: 0 10px 10px 0;
  width: 76rem; /* 社名変更告知対応 */
  max-width: 55%;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__list {
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 0 0 0 0;
  width: 100%;
  max-width: 100%;
}
}

@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__list > li {
  display: grid;
}
}

.news__list-date {
  font-size: 1.4rem;
  line-height: 1.5;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__list-date {
  display: inline-block;
  min-width: 100px;
  padding-bottom: 5px;
}
}

@media(min-width:769px) { /* 画面幅769px以上の場合 */
.news__list--line-break {
  display: none;
}
}

.news__list-text {
  /* display: grid; */
  align-items: baseline;
  gap: 5px;
  grid-template-columns: auto 1fr;
  font-size: 1.6rem;
  line-height: 1.5;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__list-text {
  width: 100%;
}
}

@media(max-width:768px) { /* 画面幅768px以下の場合 */
.news__list-text-link {
  text-decoration: underline;
}
}
@media(min-width:769px) { /* 画面幅769px以上の場合 */
.news__list-text-link:hover {
  text-decoration: underline;
}
}

.news__item-status {
  display: inline-block;
  background-color: #333;
  border-radius: 5px;
  padding: 6px 8px 5px;
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  line-height: 1.0em;
}

.news__item-status.is-new {
  background-color: #b92727;
}



/* ===== contents ===== */

.contents.is-toppage {
  padding-top: 210px; /*社名変更対応*/
  padding-bottom: 120px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.contents.is-toppage {
  padding-top: 0;
  padding-bottom: 150px;
}
}



/* ===== top-menu ===== */

.top-menu {
  position: relative;
}

.top-menu__item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
  width: 730px;
  margin: 0 auto;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.top-menu__item {
  display: block;
  max-width: 95%;
  padding-top: 30px;
}
}

.top-menu__item > li {
  width: 350px;
  padding: 30px 15px;
  background-color: #fff;
  border-radius: 20px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.top-menu__item > li {
  margin: 20px auto 0;
  width: 400px;
  max-width: 100%;
}
}

.top-menu__item-title {
  font-size: 2.8rem;
  color: #004098;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.top-menu__item-guide {
  margin-top: 10px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
}

.top-menu__item-btn {
  text-align: center;
}

.top-menu__item-btn .common-btn {
  margin-left: auto;
  margin-right: auto;
}

.top-menu__fox {
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.top-menu__fox {
  position: absolute;
  width: 90px;
  top: 5px;
  right: 15px;
}
}



/* ===== pickup ===== */

.pickup {
  position: relative;
  margin: 40px auto 0;
  padding: 0 0 30px;
  width: 95%;
  max-width: 1024px;
  border-top: 14px solid #CA8A04;
  border-bottom: 14px solid #CA8A04;
  background: url('/assets/images/common/board-bg.jpg') repeat-y;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.pickup {
  margin: 60px auto 0;
}
}

.pickup__bird-left {
  position: absolute;
  width: 65px;
  top: -61px;
  left: 30px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.pickup__bird-left {
  width: 50px;
  top: -50px;
  left: 20px;
}
}

.pickup__bird-right {
  position: absolute;
  width: 65px;
  top: -61px;
  right: 30px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.pickup__bird-right {
  width: 50px;
  top: -50px;
  right: 20px;
}
}

.pickup__title {
  position: relative;
  margin-top: 30px;
  padding: 0 20px;
  font-size: 2.8rem;
  color: #004098;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.pickup__lead {
  position: relative;
  margin-top: 20px;
  padding: 0 20px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
}

.pickup__board {
  position: relative;
  width: 90%;
  max-width: 890px;
  background-color: #fff;
  margin: 30px auto 0;
  padding: 0 0 30px;
}

.pickup__board-pin--left {
  position: absolute;
  width: 23px;
  top: -12px;
  left: 0;
}

.pickup__board-pin--right {
  position: absolute;
  width: 23px;
  top: -12px;
  right: 0;
}

.pickup__word {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  align-content: stretch;
  padding: 10px 10px 30px;
}

.pickup__word > li {
  width: 268px;
  padding: 10px 10px 0;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.pickup__word > li {
  width: 280px;
  padding: 10px 10px 0;
  margin-bottom: 30px;
}

.pickup__word > li:last-of-type{
  margin-bottom: 0;
}
}

.pickup__word-img-box{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  @media(max-width:768px){
    height: auto;
  }
}

.pickup__word-img-box > img{
  width: auto;
  display: block;
  max-width: 150px;
  max-height: 150px;
  @media(max-width:768px) {
    /* display: none; */
  }
} 

.pickup__word-btn {
  display: block;
  margin: 10px auto 0;
  padding: 15px;
}

.pickup__btn {
  text-align: center;
}

.pickup__btn .common-btn {
  margin-left: auto;
  margin-right: auto;
}



/* ===== common-bottom__sns ===== */

.common-bottom.is-toppage {
  width: 100%;
  max-width: 1200px;
  background-image:
    url('/assets/images/top/common-bottom-leg.png'),
    url('/assets/images/top/common-bottom-leg.png');
  background-size:
    60px 10px,
    60px 10px;
  background-repeat:
    repeat-y,
    repeat-y;
  background-position:
    left 20% top 0,
    right 20% top 0;
  text-align: center;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.common-bottom.is-toppage {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
}

.common-bottom__tanamin {
  position: absolute;
  width: 200px;
  bottom: 0;
  right: 20px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.common-bottom__tanamin {
  order: 1;
  position: relative;
  width: 100px;
  height: 70px;
  right: 0;
  margin: 0 auto;
  text-align: center;
}
}

.common-bottom__tanamin-image {
  width: 200px;
}
@media(max-width:768px) { /* 画面幅768px以下の場合 */
.common-bottom__tanamin-image {
  position: absolute;
  width: 100px;
  left: 0;
  bottom: 0;
}
}

@media(max-width:768px) { /* 画面幅768px以下の場合 */
.common-bottom__sns.is-toppage {
  order: 2;
  width: 100%;
}
}

/*社名変更告知文*/
.news__posting {
  padding: 4px 0 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #999;

  dt {
    margin-bottom: 4px;
  }

  ul {
    padding: 8px 0;
  }
}
/*ここまで*/