.page-template-template-agodashi-archive .full-line {
  display: none; }

@media only screen and (max-width: 480px) {
  .page-template-template-agodashi-archive .agodashi-archive {
    margin-top: 40px; } }

.agodashi-menu-trigger {
  position: absolute;
  top: 20px;
  right: -20px;
  z-index: 120;
  padding: 0;
  margin: 0;
  border: none;
  width: 20px;
  height: calc( 150 / 38 * 20px);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url("/wp-content/themes/yamasa-cms/dist/images/agodashi/btn_out.png") no-repeat center/contain; }
  .agodashi-menu-trigger.active {
    background-image: url("/wp-content/themes/yamasa-cms/dist/images/agodashi/btn_in.png"); }

.agodashi-contents-wrapper {
  position: relative;
  width: 100%;
  margin-top: -17px; }
  .agodashi-contents-wrapper .sp-agodashi-menu {
    display: none; }
    @media only screen and (max-width: 480px) {
      .agodashi-contents-wrapper .sp-agodashi-menu {
        display: block;
        position: absolute;
        left: -100%;
        top: 0;
        z-index: 100;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        -webkit-transition: 0.3s ease;
        -o-transition: 0.3s ease;
        transition: 0.3s ease; }
        .agodashi-contents-wrapper .sp-agodashi-menu.active {
          left: 0; }
          .agodashi-contents-wrapper .sp-agodashi-menu.active .agodashi-menu-content {
            left: 0; }
        .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content {
          background-color: #f4f0ed;
          padding: 20px;
          width: 60%;
          color: #fff;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          position: absolute;
          -webkit-transition: 0.3s ease;
          -o-transition: 0.3s ease;
          transition: 0.3s ease;
          left: 40%; }
          .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content img {
            width: 100%; }
          .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content p.agodashi-menu-text {
            margin: 25px 0;
            font-size: 1rem;
            color: #613a15; }
          .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content .sp-agodashi-category-list {
            color: #613a15; }
            .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content .sp-agodashi-category-list ul li {
              border-bottom: 1px solid #613a15;
              padding: 14px 0; }
              .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content .sp-agodashi-category-list ul li:first-of-type {
                border-top: 1px solid #613a15; }
              .agodashi-contents-wrapper .sp-agodashi-menu .agodashi-menu-content .sp-agodashi-category-list ul li a {
                color: #613a15;
                font-size: 1rem;
                font-weight: 300; } }

main.agodashi-archive {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
  @media only screen and (max-width: 480px) {
    main.agodashi-archive {
      padding: 0 20px;
      margin-top: 50px; } }

.agodashi-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-right: 1px solid #d0021b;
  border-left: 1px solid #d0021b;
  margin: 70px auto 50px; }
  @media only screen and (max-width: 480px) {
    .agodashi-box {
      border-top: 1px solid #d0021b;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      margin: 43px auto 40px; } }
  .agodashi-box .business-text {
    color: #d0021b;
    font-size: 1.2rem; }
  .agodashi-box .agodashi-box-archive {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 50%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-right: 1px solid #d0021b; }
    @media only screen and (max-width: 480px) {
      .agodashi-box .agodashi-box-archive {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #d0021b;
        padding: 8px; } }
    .agodashi-box .agodashi-box-archive .business-bottle {
      width: 15px;
      height: auto; }
      @media only screen and (max-width: 480px) {
        .agodashi-box .agodashi-box-archive .business-bottle {
          width: 10px; } }
    .agodashi-box .agodashi-box-archive .business-text {
      margin: 0 30px; }
      @media only screen and (max-width: 480px) {
        .agodashi-box .agodashi-box-archive .business-text {
          margin: 0 15px;
          font-size: 0.9rem; } }
    .agodashi-box .agodashi-box-archive .agodashi-box-link {
      background-color: #d0021b;
      border-radius: 25px;
      display: block;
      width: 200px;
      text-align: center; }
      .agodashi-box .agodashi-box-archive .agodashi-box-link:hover {
        opacity: 0.7; }
      @media only screen and (max-width: 480px) {
        .agodashi-box .agodashi-box-archive .agodashi-box-link {
          width: 120px; } }
      .agodashi-box .agodashi-box-archive .agodashi-box-link span {
        display: inline-block;
        font-size: 17px;
        color: #fff;
        line-height: 1;
        padding: 10px 25px 10px 0;
        position: relative; }
        @media only screen and (max-width: 480px) {
          .agodashi-box .agodashi-box-archive .agodashi-box-link span {
            font-size: 12px;
            padding: 10px 15px 10px 0; } }
        .agodashi-box .agodashi-box-archive .agodashi-box-link span:after {
          position: absolute;
          content: "";
          width: 10px;
          height: 10px;
          border-bottom: 2px solid #fff;
          border-right: 2px solid #fff;
          -webkit-transform: rotate(-45deg);
          -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
          top: 50%;
          right: 0;
          margin: -5px 0 0; }
          @media only screen and (max-width: 480px) {
            .agodashi-box .agodashi-box-archive .agodashi-box-link span:after {
              width: 6px;
              height: 6px;
              border-bottom: 1px solid #fff;
              border-right: 1px solid #fff;
              margin: -3px 0 0; } }
  .agodashi-box .agodashi-box-search {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; }
    @media only screen and (max-width: 480px) {
      .agodashi-box .agodashi-box-search {
        width: 100%;
        padding: 8px;
        border-bottom: 1px solid #d0021b; } }
    .agodashi-box .agodashi-box-search .agodashi-box-link {
      background-color: #702f1b;
      border-radius: 25px;
      display: block;
      width: 403px;
      text-align: center; }
      .agodashi-box .agodashi-box-search .agodashi-box-link:hover {
        opacity: 0.7; }
      @media only screen and (max-width: 480px) {
        .agodashi-box .agodashi-box-search .agodashi-box-link {
          width: 260px; } }
      .agodashi-box .agodashi-box-search .agodashi-box-link span {
        display: inline-block;
        font-size: 23px;
        color: #fff;
        line-height: 1;
        padding: 12px 25px 12px 0;
        position: relative; }
        @media only screen and (max-width: 480px) {
          .agodashi-box .agodashi-box-search .agodashi-box-link span {
            font-size: 14px; } }
        .agodashi-box .agodashi-box-search .agodashi-box-link span:after {
          position: absolute;
          content: "";
          width: 10px;
          height: 10px;
          border-bottom: 2px solid #fff;
          border-right: 2px solid #fff;
          -webkit-transform: rotate(-45deg);
          -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
          top: 50%;
          right: 0;
          margin: -5px 0 0; }
          @media only screen and (max-width: 480px) {
            .agodashi-box .agodashi-box-search .agodashi-box-link span:after {
              width: 6px;
              height: 6px;
              border-bottom: 1px solid #fff;
              border-right: 1px solid #fff;
              margin: -3px 0 0; } }

@media only screen and (max-width: 480px) {
  .agodashi-category-list {
    display: none; } }

.agodashi-category-list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: 20px auto 50px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  list-style-type: none; }
  .agodashi-category-list ul li {
    text-align: center; }
    .agodashi-category-list ul li a {
      font-size: 17px;
      color: #000; }

.agodashi-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  list-style-type: none;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%; }
  .agodashi-list li {
    width: calc( 100% / 3 - 1em);
    position: relative; }
    @media only screen and (max-width: 480px) {
      .agodashi-list li {
        width: 100%;
        overflow: hidden;
        margin-bottom: 40px; } }
    .agodashi-list li:nth-of-type(3n + 2) {
      margin-left: 1.5em;
      margin-right: 1.5em; }
      @media only screen and (max-width: 480px) {
        .agodashi-list li:nth-of-type(3n + 2) {
          margin-left: 0;
          margin-right: 0; } }
    .agodashi-list li .thumbnail-box {
      position: relative;
      overflow: hidden; }
      @media only screen and (max-width: 480px) {
        .agodashi-list li .thumbnail-box {
          width: 50%;
          float: left; } }
      .agodashi-list li .thumbnail-box:before {
        content: '';
        padding-top: calc( 242 / 350 * 100%);
        display: block; }
      .agodashi-list li .thumbnail-box .wp-post-image, .agodashi-list li .thumbnail-box .no-image {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto; }
    .agodashi-list li h3 {
      font-size: 18px; }
      @media only screen and (max-width: 480px) {
        .agodashi-list li h3 {
          width: calc( 50% - 1em);
          float: right;
          margin: 0 auto 0.25em;
          line-height: 1.3571;
          font-size: 14px; } }
    .agodashi-list li .post-description {
      font-size: 14px;
      color: #959cb8;
      line-height: 1.3571; }
      @media only screen and (max-width: 480px) {
        .agodashi-list li .post-description {
          width: calc( 50% - 1em);
          float: right;
          margin: 0;
          font-size: 12px;
          line-height: 1.347; } }
    .agodashi-list li a {
      color: #333; }

.article__footer__link.agodashi {
  font-size: 1.2rem;
  color: #7d7da9; }
  .article__footer__link.agodashi:hover, .article__footer__link.agodashi:active {
    color: #15153e;
    text-decoration: none; }
