/*
Theme Name: 保険相談サロンF.L.P
Author: 株式会社ウェブトラスト
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 3.25.2
*/

/*----------------------------------------------------
WPエディタ用
----------------------------------------------------*/
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium {
  max-width: 100%;
  /* When images are too wide for containing element, force them to fit. */
  height: auto;
  /* Override height to match resized width for correct aspect ratio. */
}

.attachment img {
  max-width: 100%;
  /* When images are too wide for containing element, force them to fit. */
  height: auto;
  /* Override height to match resized width for correct aspect ratio. */
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 24px;
  margin-top: 4px;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 24px;
  margin-top: 4px;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}

.wp-caption {
  background: #f1f1f1;
  line-height: 18px;
  margin-bottom: 20px;
  max-width: 632px !important;
  /* prevent too-wide images from breaking layout */
  padding: 4px;
  text-align: center;
}

.wp-caption img {
  margin: 5px 5px 0;
}

.wp-caption p.wp-caption-text {
  color: #888;
  font-size: 12px;
  font-size: 1.2rem;
  margin: 5px;
}

.wp-smiley {
  margin: 0;
}

.gallery {
  margin: 0 auto 18px;
}

.gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  width: 33%;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery img {
  border: 2px solid #cfcfcf;
}

.gallery-columns-2 .attachment-medium {
  max-width: 92%;
  height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
  max-width: 84%;
  height: auto;
}

.gallery .gallery-caption {
  color: #888;
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.gallery dl {
  margin: 0;
}

.gallery img {
  border: 10px solid #f1f1f1;
}

.gallery br+br {
  display: none;
}

.copyBtn {
  text-align: center;
}

.copyBtn {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  background: #fff;
  border: 3px solid #ccc;
  cursor: pointer;
  display: block;
  line-height: 27px;
  width: 320px;
  padding: 0 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition-property: background-color, color;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
  transition-property: background-color, color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  margin: 0 auto 10px;
}

@media screen and (min-width: 768px) {
  .copyBtn {
    font-size: 13px;
    line-height: 54px;
    margin: 0 auto 20px;
  }
}

.copyBtn.copiedBtn {
  background: #ccc;
  color: #fff;
  pointer-events: none;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
}

.image-wrapper {
  display: flex;
  animation: scroll 80s linear infinite;
  /* アニメーションの時間を半分に */
}

.image-wrapper img {
  max-width: 20%;
  height: 60%;
  margin-right: 10px;
  /* 画像間のスペースを調整 */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1000%);
  }

  /* 画像を2枚分の幅だけ左にスクロール */
}